HDTenEightyP/NetNews huggingface dataset:
From: jaws@jaws1.austin.ibm.com (Jason A. Woods)
Subject: Re: Legalities of making PTFs available for ftp?
Date: Thu, 21 Jan 1993 19:56:55 GMT
Reply-To: YOURLOGIN@YOURCOMPUTER.austin.ibm.com
Organization: IBM Austin

>If they make mistakes they should make the PTF's available as easy as
possible.
>The approach that every site should phone customer support for getting fixes
>with snake-mail may have right in the late 70's with only a few VM-systems
>around the world :-) At least I would expect distribution via anon ftp
>by IBM. But I would prefer a distribution via NFS. Look at the MIT X11-distri-
>bution process.
>
>But what do they?
>- there seems to be no quality assurance.
>- there is no electronic online help from IBM for their bugs
>
>So I think it would be a good idea if some friendly soul would set up
>a anon ftp with most urgent bugfixes (Gt4X, qdaemon, etc.).
>
>In former times they said: THINK.

I agree.  BUT, before some kind and frinedly sole commits themselves
to a life of PTF slavery, be aware of some of the caveats:	
     1 - Any "self-respecting,worth anything,made in the
         last 6-monthes" PTF with its pre-,if-,and co-reqs,
         would generally occupy around 100meg. :-)
     2 - You would need to get the latest ptfs, I believe
         weekly, from some kind sole that can get them
         for you (unless an IBM'er is willing to do this). B-)
     3 - You have to take responsibility for the program you
         write to assemble the pre,if and co reqs for the ptf being
         built, in case anything goes wrong.
     4 - Many other things you have to think about - such
         as where the fix is going to be built - on the server
         or on the requesting machine, etc. . .

But by all means, go ahead and try . . .

Jason Woods - Go Ahead, Take A RISC . . . 
AIX Software Defect Support

DISCLAIMER - "I did it during lunch . . .really"
Newsgroups: comp.unix.aix
From: epamjh@epa.ericsson.se (Malcolm Hill)
Subject: OEM CD-ROM on RS/6000
Organization: Ericsson Australia
Date: Mon, 25 Jan 1993 07:21:27 GMT

I suspect I am banging my head against a brick wall, but...

Does anyone know if it is possible to use non-IBM CD-ROM players with a RS6K
(in particular a 320 with AIX 3.2.3)?

The official response from IBM is that they have only supplied entries in ODM
for the IBM player (ie. no 'oscdrom'), and they didn't know of anyone that had
accomplished it.

I have an unused SUN CD-ROM (the innards are a SONY mechanism), and I am sick 
of NFS mounting the INFO CD from an unreliable SUN machine.

All Responses gratefully received...

Malcolm Hill

Mail to : epamjh@epa.ericsson.se
Newsgroups: comp.unix.aix
From: cheung@eplrx7.es.duPont.com (Bryan Cheung)
Subject: Re: AIX Function Equivalent To VM's "RETRIEVE" Function
Followup-To: comp.unix.aix
Organization: DuPont
Distribution: na
Date: Tue, 26 Jan 1993 15:31:52 GMT

> On a VM system we can set up a PFkey to recall any commands just
> entered *AND* modify them.  AIX's 'history function' only lets me
>re-issue commands just entered *unmodified*.

This problem is not specific to AIX, but to the command language 
interpreter (shell) you are using. AIX defaults to the Korn shell
(/bin/ksh).

> For example I type in (because I am a programmer, not a typist :-)):
>     "gp /usr/lpp/info/En_US/sys.sys"
> when I should have typed:
>     "pg /usr/lpp/info/En_US/sys.sys"

If you are using the Korn shell, you can do this with the following:

   <ctrl-P>    # retrieves your previous typo'd command(s)
   <ctrl-A>    # moves to the beginning of the bad command line
   <ctrl-T>    # "twiddles" the current and next characters from gp to pg

   This assumes you are using the emacs command line editting mode, which
   can be enabled with:
        $ set -o emacs

If you are using the C shell (/bin/csh) you can do the following:

% ^gp^pg          # replaces gp with pg in the previous command.

A few other notes:

The Korn shell command line editting keys can be switched to vi
or emacs using the set -o emacs/vi command or by setting your  EDITOR
variable to vi/emacs. Of the two, emacs has a *slightly* more
mnemonic set of keybindings than vi. My personal preference is 
emacs which is (which infinitely more cool than vi ;-). A few useful 
emacs keybindings are listed below.

      <ctrl-N>  Next command line
      <ctrl-P>  Previous command line
      <ctrl-F>  Forward 1 character
      ESC F     Forward 1 word
      <ctrl-B>  Backward 1 character
      ESC B     Backward 1 word

      <ctrl-D>  Delete current character
      <ctrl-K>  Cut to end of line (Kill text)
      <ctrl-Y>  Paste last cut (Yank)
     
      <ctrl-R>xxx  Reverse search for last command containing xxx

      The man pages on the ksh (man ksh) have a complete listing of
      the _MANY_ vi/emacs/gmacs commands you can use to edit command 
      lines. This is also in info, but you have to dig for it.

The C Shell has a *very* complex and powerful set of command line
editting features. The syntax is horribly ugly, not mnemonic, and
very difficult for new users to adjust to. If you are interested
(or just masochistic) read the man pages.

                    Hope this helps,
                        -- Bryan Cheung
                           cheung@eplrx7.es.dupont.com
From: ccampbel@ecst.csuchico.edu (Carol Marie Campbell)
Newsgroups: comp.unix.aix
Subject: Queue's
Date: 22 Jan 93 00:38:32 GMT
Organization: California State University, Chico
NNTP-Posting-Host: cscihp.ecst.csuchico.edu

I have been having trouble creating a print queue. I follow everything that smittells me to do and when I issue a lpr command I get an error message that tells me that a virtual printer has not been defined. Could someone give me a detailed list of what to do. I am stuck and don't know where to turn.
                                    Thanks
                                      ccampbel
From: ewilson@ucunix.san.uc.edu (Eliot Wilson)
Newsgroups: comp.unix.aix
Subject: Re: Change standard output within a shell script
Keywords: shell script cron
Date: 27 Jan 93 21:19:12 GMT
Organization: University of Cincinnati

In article <1jq14qINNsbd@geraldo.cc.utexas.edu> mandream@ccwf.cc.utexas.edu writes:
>How do you change the definition of standard output within a csh script?
>I have a shell script with a lot of "echo" commands and I want their
>output to automatically go to a different file every day.  I don't want
>to have to type a bunch of redirection symbols.
>
>The shell script is running as a cron job.  I tried to redirect the file
>as follows:
>
>   00 2 * * 1-5 ~admin/bkup.test > ~admin/bkup_report/`date +%b_%d_%Y` 2>&1
>
>But, when I did that, the output was put into a file with the name
>
>   Fri Jan 22 02:00:00 CST 1993
>
>Instead of 
>
>   Jan_22_1993
>
>When I run the same command that I used in the cron at the normal ksh
>prompt (since cron runs in ksh), it does create the filename I want.
>
>Thanks in advance...

What I have done in the past using borne shell is this

exec > /my.output.filename

This cause stdout to change to this new file. Hope it helps.
-ELiot

-- 
Eliot Wilson      Univ. of Cincinnati      UG Computer Science
   A-in't         IBM Cincinnati AIX Open Systems Solution Team (a.k.a. limbo)
   I-t	          Internet:   		    VNET:   
   X-citing       ewilson@ucunix.san.uc.edu      supewils@DETVMIC1
Newsgroups: comp.unix.aix
From: lucien@watson.ibm.com (Lucien Van Elsen)
Subject: 3.1 updatep -t functionality under 3.2 installp?
Date: Fri, 22 Jan 1993 20:54:54 GMT
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: IBM T.J. Watson Research Center

Under AIX 3.1, the updatep command took a -t flag to specify an alternate
directory where files replaced during an update were stored.  However, in
3.2, the updatep command was subsumed by the installp command, which does
not appear to have a similar flag.  The reason for this is that I would like
to apply but not commit a fix to /usr, without having /usr grow in the
process.

	-Lucien
--
-----------------------------------------------------------------------
Lucien Van Elsen                                          IBM  Research
lucien@watson.ibm.com                                     Project Agora
From: mcbryde@navier.math.uh.edu (Jack Mcbryde)
Newsgroups: comp.unix.aix
Subject: Re: Experiences installing AIX 3.2.3
Date: 27 Jan 1993 04:03:28 GMT
Organization: UH Dept of Math
NNTP-Posting-Host: navier.math.uh.edu

In article <1k46efINNiad@mailgzrz.TU-Berlin.DE> woks4000@mailszrz.zrz.tu-berlin.de (Wolfgang Ksoll) writes:
>In article <1993Jan26.155849.11544@msc.cornell.edu> rick@cougar.msc.cornell.edu (Rick Cochran) writes:
>>o I used the "from scratch" 3.2.3 tape.
>...
>Hi,
>I have two questions:
>- how much time did you spent to have a running system? Two days?

For the fixes it is at least partially a  function of the cpu speed. Lots of
the bos.obj fixes rebuild the kernel. What takes 2 hours on a 560, takes 4 on
a 530, and 12 on a 220. (The times are gross approximations, and only apply
to the ptfs.) Installing "the operating system" varies according to the media,
and on what all you actually install. (The operating system is broken up into
lots of parts. You can choose to install tcpip and not nfs. Or you can decide
to leave out all of the text formatting stuff, or the pud games, or all of the
X11 example source, or the INed editor, or the C compiler, or the Kanji fonts.) 
I would venture that the break point for one day falls about at a 530-530H.
If your machine is faster, you should be able to completely install and update
in in a day. If its slower it can take two. This, of course, get shaded for
how much you are installing. (HINT: *don't* choose all when it asks you what
software you'd like to install. Unless you want strange editors, speak a dozen
languages (and need the machine to understand all of them), have every printer
ever made simultaneously hooked up, like pud games,... :-)

later,
jack
--
jack      mcbryde@karazm.math.uh.edu    * All I ask of Thee, Lord
* Christ died for our sins.  Dare we    * Is to be a drinker and fornicator
* make his martyrdom meaningless by     * An unbeliever and a sodomite
* not committing them? - Jules Feiffer  * And then to die. - Claude de Chauvigny
From: Mickey_Coggins@vnet.ibm.com
Date: Fri, 22 Jan 93 13:29:28 CET
Cc:   rriv@sophia.inria.fr
Newsgroups: comp.unix.aix
Subject: Re: Paging spaces fill - How to fix?
Reply-To: Mickey_Coggins@vnet.ibm.com
Organization: IBM
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.1
            <39179@sophia.inria.fr>

In <39179@sophia.inria.fr> Robert Riviere writes:
>In article <6905@tuegate.tue.nl> ronald@lowt.phys.tue.nl (Ronald Aarts) writes:
>>RBNTJC@rohvm1.rohmhaas.com (Thomas J Cozzolino) writes:
>>
>>You can try a "/etc/slibclean" (to be executed as root). It frees memory that
>>is occupied by shared libraries. It worked in our case, but I forgot what
>>caused the problem (X or something else). Actually we put it in root's crontab
>>to be executed regularly.

This is an illusion.

If you are not changing your shared libraries or developing device
drivers, running slibclean won't help you.  It may seem as though
you have more free paging space after running it, but anything it
flushes out would have been flushed anyway had paging space been low.

The only thing it will hurt is if the shared library is needed later,
it will have to be brought into memory from disk - no big deal.

If you want to see which shared libraries are currently loaded, run
the command /usr/lpp/bosperf/lib/genkld.  Also interesting, in the
same directory, are genld and genkex.  Don't bother looking for the
documentation.  They are shipped with the AIX 3.2 "performance tools"
PTF, available from your friendly IBM software (bug) support center.

Here is an example:
root@mactex:/home/root #/usr/lpp/bosperf/lib/genkld | wc
145 427 6516
root@mactex:/home/root #slibclean
root@mactex:/home/root #/usr/lpp/bosperf/lib/genkld | wc
101 295 4448
root@mactex:/home/root #

I'm not advocating running slibclean, just showing what it does.

>Interesting...
>
>aneto>lsps -a
>Page Space  Physical Volume   Volume Group    Size   %Used  Active  Auto  Type
>hd6         hdisk0            rootvg          32MB      84     yes   yes    lv
>aneto>slibclean
>aneto>lsps -a
>Page Space  Physical Volume   Volume Group    Size   %Used  Active  Auto  Type
>hd6         hdisk0            rootvg          32MB      85     yes   yes    lv
>
>But not very efficient, is it ?

Are you kidding here?  Just in case you are not, there is an
explaination for this.  1) don't count on slibclean to reduce your
paging space requirements.  2) running any program has the potential
to push data that was sitting comfortably in RAM out to paging space.
Seems like that is what happened here.


>(rriv@sophia.inria.fr)                Tel: (33) 93.65.79.06

--
Mickey Coggins  Mickey_Coggins@vnet.ibm.com
                +41-1-436-7274 / +41-1-436-8525 (fax)
                Hohlstrasse 560, CH-8048 Zurich, Switzerland
_______________
"All who have meditated on the art of governing mankind
 have been convinced that the fate of empires depends on
 the education of youth."   - Aristotle
Newsgroups: comp.unix.aix
From: stuart@fawlty.towers.oz.au (Stuart Walker)
Subject: Re: Compilation Quirks
Organization: Tower Technology, Sydney
Date: Thu, 21 Jan 1993 23:40:39 GMT



In a previous article, I wrote about the following problem...
> I've been trying to compile some files using the external typechecking
> options.  They seem to fail dismally on variable argument lists.
> Here are the cut down files, and the commands used to compile them:
> 
> $ cat tst.c
> #include <stdlib.h>
> 
> extern void TFB_Log_Msg (const char *, ...);
> 
> main()
> {
>         TFB_Log_Msg("hello");
>         exit(1);
> }
> 
> $ cat log.c
> #include <stdio.h>
> #include <stdlib.h>
> #include <stdarg.h>
> 
> void
> TFB_Log_Msg(const char *msg, ...)
> {
>         va_list args;
>         char    tmp[2];
>         char    bfr[150];
> 
>         va_start(args, msg);
>         vsprintf(bfr, msg, args);
> 
>         va_end(args);
> }
> 
> 
> $ cc -c -qlanglvl=ansi -qextchk tst.c
> $ cc -c -qlanglvl=ansi -qextchk log.c
> $ cc -o tst tst.o log.o
> 0706-317 ERROR: Unresolved or undefined symbols detected:
>                  Symbols in error (followed by references) are
>                  dumped to the load map.
>                  The -bloadmap:<filename> option will create a load map.
> .TFB_Log_Msg
> 
> $ cc -o log.o tst.o
> 0706-317 ERROR: Unresolved or undefined symbols detected:
>                  Symbols in error (followed by references) are
>                  dumped to the load map.
>                  The -bloadmap:<filename> option will create a load map.
> .TFB_Log_Msg
> 
> The actual error seems to vary with the order of the files during the link.
> I'd like to try to use the -bextchk if at all possible.  Any ideas anyone ??
> 
> PS This fails in exactly the same way for AIX 3.1.5 and 3.2.3

Well, I got a reply from Matthew Russotto at IBM(thanks Matthew) that apparently
this problem does not occur on version 1.02.0000.00025(AIX 3.2) of the
C compiler, and probably a few earlier versions.  On our 3.2 system, we only
had version 1.02.0000.0000.

Stuart.
_______________________________________________________________________________
Internet: stuart@fawlty.towers.oz.au			  Phone: +61 2 427 2999
UUCP:     uunet!fawlty.towers.oz.au!stuart		  Fax:   +61 2 427 7072
Snail:    Tower Technology
-- 
_______________________________________________________________________________
Internet: stuart@fawlty.towers.oz.au			  Phone: +61 2 427 2999
UUCP:     uunet!fawlty.towers.oz.au!stuart		  Fax:   +61 2 427 7072
Snail:    Tower Technology
From: dwatts@ki.com (Dan Watts)
Newsgroups: comp.unix.aix
Subject: Re: kiNET software for RS/6000
Date: 22 Jan 93 17:41:37 GMT
Organization: ki Research, Inc

In article <1993Jan20.190034.19984@slate.mines.colorado.edu> bware@slate.mines.colorado.edu (Bob Ware) writes:
|plim@mcclb0.med.nyu.edu (plim) writes:
|: Has anyone used kiNET software for LAT and DECnet access to the RS6000?
|: If so, is it recommended?
|: 
|We were using it, but when we went to 3.2 it broke and we don't have a fix
|for it yet.  It worked well under 3.1.
|
|-- 
|Bob Ware, System Administrator 
|Computing and Networking, Colorado School of Mines, Golden, Co 80401, USA
|(303) 273-3987
|bware@mines.colorado.edu


IBM changed some of the system structures in AIX when upgrading from AIX
3.1 to 3.2.  You need to get a maintenance update of openDNA (formerly
called kiNET) for your system.  I checked our records, and I don't see
that anyone from your site has placed a support call with us in regards
to your problem.  I've entered one for you.  You should be getting a call
soon as well as receiving a tape if you have an active maintenance
agreement.

In the future, please don't hesitate to call or send us email when you
have problems.  Our email address is:

   support@ki.com

Dan Watts
-- 
######################## Have A Nice Nude Day #########################
# EMail: dwatts@ki.com  UUCP: ...!uunet!ki.com!dwatts  Dan Watts      #
# Voice: 410 290 0355   FAX:  410 290 0397          ki Research, Inc. #
# The Bill Of Rights: Void Where Prohibited by Law. Vote Libertarian ##
From: liebe@rs4.hrz.th-darmstadt.de (Andreas Liebe)
Newsgroups: comp.unix.aix
Subject: DNS resolver problems
Date: 27 Jan 1993 09:06:57 GMT
Organization: Technische Hochschule Darmstadt
Distribution: world
NNTP-Posting-Host: rs4.hrz.th-darmstadt.de

We're having some problems with multiple nameserver entries in
/etc/resolv.conf. If the first nameserver is down, machine performance
decreases dramatically. Every command waits about seven seconds for
a timeout before switching to the second nameserver.
Is there a way to make the switching to the next entry permanent (for
at least some minutes) since if a nameserver is down it will
usually take a couple of time for it to become available again.

Any help is appreciated,

	-Andreas

-- 
     _        _  _  _  TH-Darmstadt               Voice: +49 6151 16 3150
   /_/ /  / /_ /_//_   Network Department         Fax:   +49 6151 16 3050     
  / /./_ / /_ /_//_    Petersenstrasse 30         EMail:
                       D6100 Darmstadt (Germany)   liebe@hrz.th-darmstadt.de
Newsgroups: comp.unix.aix
From: paul@tadsrc.tadtec.co.uk (Paul Chown)
Subject: Assembler... HELP!
Organization: Tadpole Technology plc
Distribution: comp.unix.aix
Date: Mon, 25 Jan 1993 20:01:17 GMT


Hi Folks,
	This is a pretty basic question, but it is driving me completely up
the wall. Could someone please explain to me (by e-mail so as not to irritate
the netfolks) how to generate a global data symbol using the AIX assembler.
The 'C' compiler can obviously do it, and I can generate global text symbols
as follows:

> 	.csect
> start:
> 	.globl start

but if I try

> 	.dsect .data
> bdata:
> 	.globl bdata

then the assembler bombs out on the .globl line with the message:

	'Check that the .globl name is a relocatable expression'

I have tried about 300 ways to achieve the same end and I won't bore you with
them here, but none of them came even close to working. Any solutions would
be gratefully received, and if anyone knows of some sort of FTP-able
documentation on the AIX assembler then that would even better.

Regards,

Paul

+--------+--------------------------------------------------------------------
|    __  | "Nobody asked *your* opinion," said Alice
|   /++\ | "Who's making personal remarks now?" the Hatter asked triumphantly
|  /\__/ |
|  \     | Paul Chown              Tadpole Technology plc, Cambridge, England
|  /     | pmc@tadtec.co.uk        Phone: +44 223 250030
+--------+--------------------------------------------------------------------
Newsgroups: comp.unix.aix
From: rick@mel1.geg.mot.com (Rick Rankin)
Subject: Re: xlC++ Severe Compiler Error
Organization: Motorola, Inc. - Scottsdale, AZ
Date: 25 Jan 93 18:13:50 GMT
	<1993Jan25.130222.3387@magnus.acs.ohio-state.edu>

In article <1993Jan25.130222.3387@magnus.acs.ohio-state.edu> merrick@magnus.acs.ohio-state.edu (Tom Merrick) writes:

>In article <19930122.052714.669@almaden.ibm.com> kraemerf@franvm3.VNET.IBM.COM writes:
>>.
>>
>>One of my customers (University of Kassel) send me the following
>>small C++ program and complained that the xlC++ compiler does
>>not work as it should be. He is running on AIX 3.2.3 level.
>>
>>Yes, I'm the proud owner of a C++ book, bought at Palo Alto
>>in march 1991 - it's a nice looking book but I never touched
>>more than the table of contents with my eyes, but my friends
>>are very impressed.........
>>
>>So the question to the audience is, is this real good C++ style or
>>is our comipler buggy.......
>
>With xlC at level 1.1.2 running under aix 3.2.2 I got the following:
>Variations for 1/2 (in C++):
>
>	a = 0 should be 0.0 
>	b = 0.5 should be 0.5 
>	c = 1 should be 1.0 
>	d = 1.5 should be 1.5 
>	e = 0.5 should be 0.5 
>	f = 0.5 should be 0.5 
>	g = 0.5 should be 0.5 
>	h = 0 should be 0.0 (!)
>
>Make sure that you are running the current xlC as the latest release came
>out in late 92.
>

I get the following results with xlC 1.1.2 under AIX 3.2.3:

Variations for 1/2 (in C++):

 a = 0 should be 0.0 
 b = 0.5 should be 0.5 
 c = 1 should be 1.0 
 d = 1.5 should be 1.5 
 e = 0.5 should be 0.5 
 f = 0.5 should be 0.5 
 g = 0.5 should be 0.5 
 h = 0 should be 0.0 (!)

It sounds to me also like you have an old version of the compiler.
You can check it with the command:

lslpp -h xlCcmp.obj

which should output something like

 Name
 --------------------
   Fix Id  Release         Status     Action     Date       Time     User Name
   ------- --------------- ---------- ---------- ---------- -------- ----------
xlCcmp.obj
            01.01.0002.0000 COMPLETE   APPLY      11/19/92   13:45:42 root

  xlCcmp.obj
            01.01.0002.0008 NONE
xlCcmp.obj
            01.01.0002.0000 COMPLETE   APPLY      11/19/92   13:53:33 root

From this, you can see that my compiler is at level 01.01.0002.0000,
or 1.1.2.  There is yet a later version avaliable which I have but have
not had time to install.  You can get it by calling IBM Software support
at 1-800-237-5511.


--
==============================================================================
| Rick Rankin				|				     |
| Motorola				| Voice: 602-441-5726		     |
| Government Electronics Group		| Fax: 602-441-2919		     |
| 8220 E. Roosevelt St.			| Internet: rick@mel1.geg.mot.com    |
| Scottsdale, AZ 85252			|				     |
| Mail Drop R4246			|				     |
==============================================================================
Newsgroups: comp.unix.aix
From: jaws@jaws1.austin.ibm.com (Jason A. Woods)
Subject: Re: WITHDRAWAL OF SUPPORT FOR AIX VERSION 3.1.5
Date: Thu, 21 Jan 1993 19:03:37 GMT
Reply-To: YOURLOGIN@YOURCOMPUTER.austin.ibm.com
Organization: IBM Austin

>>Not to mention the latest tty code:
>
>>	U412816 - pretty much everything
>>	U412814 - tsm/getty code	
>>        U412815 - a new /unix
>
>>Chances are, that if you apply any other fixes without getting these
>>also (or their supersedes), you will want them sure enough . . .
>>They fix a lot of the "TTY Bugginess" that was made evident by
>>the changes in the tty subsystem last year.
>
>How do these relate to the PTF U412752 tape ("for TTY Subsystem")
>that I received (unsolicited) in the mail last week?  I've been afraid
>to apply it lest it screw up more than it fixes...

The ones I listed above  are more recent than U412752 (i.e. a later
build).  The ones I listed can be applied over what you already
have - U412752, or heaven forbid - U409714 and U411160!  They
include several more fixes to "breaks" in the code, some of what
they don't fix are:
     ix32219, ix32128, ix32929, ix32930, ix32356, ix32470
(none of which are available yet)  If you have questions about
what they fix (tty related), give IBM a call.

Jason Woods - Go Ahead Take A RISC . . .
AIX Software Defect Support

DISCLAIMER - "It was during lunch . . .really!"
Newsgroups: comp.unix.aix