HDTenEightyP/NetNews huggingface dataset:
From: crneeta@sdrc.COM (Neeta Patel)
Newsgroups: comp.unix.aix,comp.unix.large,comp.protocols.nfs
Subject: Using IBMs MVS/DFP (NFS) product on Unix systems
Keywords: MVS/DFP NFS on Unix systems
Date: 11 Sep 92 21:10:54 GMT
Followup-To: poster
Organization: SDRC, Cincinnati

Is anyone using the MVS/Data Facility (MVS/DFP) Version 3 
(Network File system Server) with IBM RS/6000's running AIX V3.2 or any
other unix NFS client systems?

If so, are you able to use the MVS disk as a local unix disk, transparently?,
i.e :
Are you able to create a unix directory tree hiearchy?
Are you able to run unix compiled code?
Are you able to remove unix files and directory trees?

Any response is wellcome. Please send replies to crneeta@sdrc.com and I
will summarise if there is any interest.

Thanks in advance
Regards, Neeta

Neeta Patel (UNix Systems Engineer)
Structural Dynamics Research Corp (SDRC)

Newsgroups: comp.unix.aix
From: geertr@sci.kun.nl (Geert Rolf)
Subject: PS2/70, 3COM 3C523, RS6K/AIX3.2, PC-NFS hangs few times a day
Summary:  PC/NFS, PS2/70, 3COM 3C523 hangs few times a day
Keywords: 3C523, PC/NFS
Organization: University of Nijmegen, The Netherlands
Date: Wed, 9 Sep 1992 09:16:39 GMT

Overhere we have three PS 2 model 70s all using 3COM 3C523 Etherlink MC
network cards using an IBM RS-6000 as primary host and a few times a
day the PS-2s hang. In some cases even CTRL-ALT-DEL does not work
anymore.

This happens even when you leave the PS-2 idle (with network software
installed). It has not changed over different DOS versions, different
PC/NFS versions and different AIX versions. We also have `normal' PCs
(ATs) using a different card without problems.

Anyone with good or bad experience with similar machines/cards/software??
Thanks in advance,

                Geert Rolf

                geertr@{sci,tvs}.kun.nl
From: thorf@csa.bu.edu (Thor Farrish)
Newsgroups: comp.unix.aix
Subject: word processing on R/6k
Keywords: dos wp wordperfect serial
Date: 15 Sep 92 16:23:19 GMT
Distribution: usa
Organization: Computer Science Department, Boston University, Boston, MA, USA


   An acquiantance recently installed an R/6K for office automation (moving up
from a Novell network).  There are (or will be) 10 - 15 dedicated stations
connected (all dumb serial boxes).  The employees have been using Word Per-
fect (DOS) and are very comfortable with it.

   My question is:  Would the current (read PAID for) DOS-based Word Perfect
be adequate, under DOS emulation, for the office's needs?  Would upgrading
to a site license for Word Perfect/AIX (read BIG $$$) be better?

   Any tips would be appreciated.

   -Thor-
 


Newsgroups: comp.unix.aix
From: lpc@dickens.com (Luis P Caamano)
Subject: Re: InfoExplorer Background Color
Date: Mon, 14 Sep 1992 17:07:25 GMT
Organization: Dickens Data Systems, Inc.
Keywords: InfoExplorer Color Background

In article <Sep11.164832.20143@cdsac.uucp> scotte@cdsac.uucp (L. Scott Emmons) writes:
>In article <1992Sep10.172648.14252@dickens.com> lpc@dickens.com (Luis P Caamano) writes:
>>Does anybody know what's the magic line to add to my .Xdefaults
>>to change InfoExplorer text window background.  I've added 
>>info*background*: but it only changes the menu bar background.
>
>Try:
>
>	info.background: <whatever>
>

That one worked!! Uhmm, I thought info*background: would've matched ...

Where are the O'Reilly's X books? ... :-)


BTW this one also worked, even though is not a line in .Xdefaults:

From: uunet!aristotle.ils.nwu.edu!lopez (Chris Lopez)

I just have  -- f.exec "info -bg skyblue &" -- in my .mwmrc.
I am sure you could put 'alias info "info -bg skyblue &"' in your .cshrc
if you preferred.



-- 
---------------------------------------------------------------------------
Luis P. Caamano                    |         lpc@dickens.com
Dickens Data Systems, Inc.         |         uunet!dickens.com!lpc
Atlanta, GA                        |         (404) 475-8860
---------------------------------------------------------------------------
If I think I know it all, I'll stop learning. -myself
The more I learn, the more I know I know nothing. -somebody else
Newsgroups: comp.unix.aix
From: dedourek@jupiter.sun.csd.unb.ca (John DeDourek)
Subject: Summary of responses: Syntax error when installing diskless client
Organization: University of New Brunswick
Date: Tue, 8 Sep 1992 14:34:35 GMT

On Friday I reported a problem installing a diskless client under AIX 3.2.

henry@aixwiz.austin.ibm.com replied via e-mail suggesting that the problem
might be related to an invalid parameter entered into the smit screen
obtained via the "smit mkdclient" command.  He suggested entering some
debugging output (via an "echo" command) in a script in /usr/lib/dwm.

mtimm@auk.UWaterloo.ca reported that he had the problem and it was related
to the time zone field and suggested not entering a time zone.  He reported
that APAR IX6632 existed for this problem, and the associated fix,
U405598, did not correct the problem.

I was able to perform some analysis by adding debugging output to a variety
of scripts in /usr/lib/dwm between the time I received the first and
second responses.  My analysis of the problem is as follows:

When using the "smit mkdclient" command, the resulting screen has a default
of CST for the time zone entry.  If this entry is not changed, its value
is not passed to the Bourne shell script "mkdclient" which is executed by
the smit panel.  If the entry is changed, a -T'value' argument is passed
to the mkdclient shell script.  I elected to press F4 at this entry in
smit, which allows choosing from the a list, and I chose my time zone.
This entered "(AST4ADT)" as the value; this value INCLUDES THE 
PARENTHESES.

Unfortunately, the "mkdclient" shell script calls the dwm_set function,
defined in /usr/lib/dwm/dwm_functions.  At a point in this function
the line
      eval $ds_prefix$ds_num=$ds_i
is executed.  In my particular case, the result of the shell substitutions
was
      eval mkd_11=(AST4ADT)
and I postulate that the unescaped parentheses cause havoc in this shell
command.

I postulate that one could type the time zone without the parentheses
rather than using the "select from list" (F4) smit function.  Unfortunately,
I don't know the ramifications of having the time zone entered into
the configuration without the parentheses.  If the parentheses are not
required, this work around should be sufficient.  Otherwise, either the
point at which the time zone is used must add in the parentheses, or
a rather extensive fix must be made to the /usr/lib/dwm shell scripts
to allow parentheses as part of the argument.

John DeDourek
dedourek@jupiter.sun.csd.unb.ca

Newsgroups: comp.unix.aix
From: andy@uis.com (Andy Edwards)
Subject: gdb-4.6, gcc-2.2.2, and an rs6000/220 woes ...
Date: Tue, 15 Sep 1992 20:10:58 GMT
Distribution: comp
Organization: Unix Integration Services

I have just compiled gcc-2.2.2, libg++-2.2, and gdb-4.6 on my
rs6000.  Everything went *very* smoothly (I was surprised) and
compiled with no problem.

I wrote a little hello.C using iostream.  The ececutable is over
300k!  But that is not the problem.  The problem is, whenever I
try to run gdb with it (I recompiled with -g), I would load gdb
okay, but when I gave the "run" command to gdb, my 220 literally
"took a dump" (displayed c09 on the LCD).

Has anyone seen this?  I used the standard "./configure rs6000"
to configure the make files, and then I just ran "make".

Any advice would be helpful.  Thanks.

		--andy

-- 
-----------------------------------------------------------------
Andy Edwards   *   Unix Integration Services   *  Urbandale, Iowa
EMAIL: andy@uis.com                         PHONE: (515) 254-3074
Newsgroups: comp.unix.aix
Subject: re: HELP! How to Restore Lost Logical Vol
From: Barry_Wolman@transarc.com
Date: Sat,  5 Sep 1992 22:01:26 -0400 
Organization: Carnegie Mellon, Pittsburgh, PA

This is a follow up to my posting of August 26 where I asked for help
in restoring a "lost" 300MB file systems.  Fortunately, a very
knowledgeable and helpful IBM Field Service Quality Support analyst
saw my posting and responded by email.  With help from her, I was able
to recover all of the file system.

The recovery process was complicated by the fact that repeating the LVM
commands that had originally been used to create the logical volumes
in vg02 caused the logical volumes to be created at different offsets
on the disk.  "lslv -m" described the LVs as occupying the same PPs on
the disk, but the offsets were different.  My current hypothesis is
that when vg02 was first created by our system people, they specified
a smaller maximum number of disks for the VG than the default of 32
that you get when using smit to create a VG;  this caused the new VG
to have a larger VGDA, which made the LVs in the recreated vg02 start
at higher disk offsets.  If I had used the same max number of disks
for the recreated VG, my strategy of reloading the tapes and then
recreating the Lvs probably would have worked.

I finally used the following strategy to recover the file system:

* recreate LVs in vg02 on disks 5 and 9

* define an empty file system on lv01

* reload physical backup tapes from 5 and 9 onto disks 4 and 8

* copy appropriate physical 4K blocks from hdisk4 and hdisk8 into
  lv01.  Knowing where the old LV was reloaded on hdisk4/8 (I had
  to write a simple program to search a disk for a LV header) and
  the allocation details of the new lv01, it was straightforward
  (but non-trivial!) to work out the series of dd commands to do the
  copy.

After refilling the new lv01 with the old contents, I was able to
mount /dev/lv01 read only and copy the files into another large
file system.

I still don't know why the volume group "disappeared".  At least
I've got the files back.

Barry


Newsgroups: comp.unix.aix
From: jzwiebel@pgl-devsvr.den.mmc.com (John Zwiebel (303)977-1480)
Subject: DNS w/ NIS Domain Name Questions
Organization: PAGE @ Martin-Marietta
Date: Thu, 10 Sep 1992 00:41:25 GMT

The first part of this question is to show you folks using SunOS that it
isn't all bad.  The second part asks questions on choosing domain names
for NIS and DNS and how they fit together.  In a small (smaller than Martin)
organization it would be easier to make this decision.  But here I have to 
fit in with corporate as much as possible.

I'm running AIX 3.2 on RS6000's.  Page 14-44 of "Communication Concepts and
Procedures" states the following:

In the middle of the page:
"Resolver routines on hosts running TCP/IP attempt to resolve names using the
following sources in the order listed:
1. The DOMAIN (named) name server
2. The local /etc/hosts file.

I you are using network information service (NIS) for name resolution, resolver 
routines will attempt to resove names using the following sources in the order listed:

1. The DOMAIN (named) name server
2. Network Information Service (NIS)

If you are using network information service (NIS) for name resolution, the 
local /etc/hosts file will not be consulted."

Later on on the _SAME_ page...

"NOTE:  I you are using network information service for name resolution, resolver routines will attempt to resolve names using the following sources in the order listd:

	1. Network Information Service
	2. The DOMAIN (named) name server
	3. The local /etc/hosts file"

I've read this 30 times or more to see if there is some 'qualifying' information
on this page but I can't see it.

Well, which is it?  Should I set up my NIS master server as a DNS server also?
If I do that should I be using my own DNS domain name.  (Right now I'm part
of den.mmc.com should I be page.mmc.com or page.den.mmc.com or page.com -
with all the hassles of talking to NIC to set things up right)

If I set up my NIS master as a DNS server, should it be primary (so I have
to worry about domain names again) or secondary or cache or forwarding.

What about the NIS slaves?

Maybe I should dump NIS names altogether and use only DNS names, but that can
really mess up some of my network applications that depend on the hostname
without the domain extension.  Domain extensions also mess up .rhosts and
host.equiv files.

Aggggghhh...
 
Thanks
John Zwiebel
Newsgroups: comp.unix.aix
From: dwight@geohub.gcn.uoknor.edu (Dwight D. Moore)
Subject: Re: Kornshell Arithmetic
Originator: usenet@midway.ecn.uoknor.edu
Date: Thu, 10 Sep 1992 14:21:47 GMT
Reply-To: dwight@geohub.gcn.uoknor.edu
Organization: Geosciences Computing Network, Univ. of Oklahoma

In article <1992Sep9.191134.24671@usceast.cs.scarolina.edu>,
perlman@SMTC.engr.scarolina.edu writes:
|>Newsgroups: comp.unix.aix
|>Path:
|
constellation!convex!convex!darwin.sura.net!gatech!hubcap!opusc!usceast!SMTC.engr.sca
arolina.edu!PERLMAN
|>From: perlman@SMTC.engr.scarolina.edu
|>Subject: Kornshell Arithmetic
|>Message-ID: <1992Sep9.191134.24671@usceast.cs.scarolina.edu>
|>Sender: usenet@usceast.cs.scarolina.edu (USENET News System)
|>Reply-To: perlman@smtc00.engr.scarolina.edu
|>Organization: NIST Southeast Manufacturing Technology Center
|>Date: Wed, 9 Sep 92 19:11:34 GMT
|>
|>It seems that ksh supports only integer arithmetic, with values
|>entered as real numbers truncated.  EX: 9 / 4 evaluates to 2
|>
|>My Kornshell book by Bolsky & Korn indicates a -F attribute that
|>might let me define a variable as Floating point, but the book isn't
|>clear how to use it or whether its available in all ksh implementations.
|>I assume that it would be used in a typeset command, but I can't make
|>it work.
|>
|>Any help?  Thanks in advance!
|>
|>Rich.
|>
|>
The AIX ksh is  a POSIX 1003.2 draft compliant (which draft?) shell. My
documentation
doesn't show the "-F" parameter for typeset and no indication for doing floating or
fixed point arithmetic in the shell proper. You could look into using the "bc"
utility 
for what you need to do.
----------------------------------------------------------------------------
Dwight D. Moore
Geosciences Computing Network
University of Oklahoma

dwight@geohub.gcn.uoknor.edu (129.15.40.10)
These opinions do not necessarily represent the opinions of OU or the GCN.
----------------------------------------------------------------------------
Newsgroups: comp.unix.aix
From: d-lewart@uiuc.edu (Daniel S. Lewart)
Subject: Re: AIX sources FTP site ?
Originator: dslg0849@uxa.cso.uiuc.edu
Reply-To: d-lewart@uiuc.edu (Daniel S. Lewart)
Organization: University of Illinois at Urbana
Date: Fri, 11 Sep 1992 08:13:34 GMT

Wim Van Holder <FDBAQ03@cc1.kuleuven.ac.be> writes:

> Are there any FTP sites with (patched) sources for AIX (X-window), like
> xmail, xrn, etc... ?

Yes, aixpdslib.seas.ucla.edu (128.97.2.211) in /pub.

Daniel Lewart
d-lewart@uiuc.edu
From: puglia@cucbs.chem.columbia.edu (Paul Puglia)
Newsgroups: comp.unix.aix
Subject: Program name from a core file
Date: 12 Sep 92 17:34:14 GMT
Organization: Center for Biomolecular Simulation


I as a goof I took on the problem of writing a program to extract
the filename out of a core file.  The program below seems to 
work fine with core generated when you issue a QUIT signal from 
the terminal. It doesn't work with arbitrary core files. I have
alot of core from mwm and xdt lying around the system, but this 
program doesn't seem to be able to snag their name.  

While developing the program, I did discover a method that seems 
to always work.  It relies on the fact that the program's full
pathname is located after the the characters _= . I can't figure
out if it is the shell that stores this or it is a result of the
the core dump.  This sequence is close to the SHELL environment so
I would guess that it is store as part of the shell.  It is
really easy to extract the programs name out of the the core using
this the sequence:

strings core | grep _= | awk -F= '{print $2}' 

works just dandy. (cut or the a clever IFS would work just as 
well in place of the awk).   

If anyone can explain why my program doesn't work, and what the _=
sequence is and who generates it I would appreciate it greatly .

Thanks in advance,

Paul Puglia 
Dept of Civil Engineering 
Columbia University

puglia@cucevx.civil.columbia.edu


/* Filename: corename.c
   Programmer: Paul J. Puglia
   created: 12-SEP-1992

   SYNOPSIS:  corename [filename]
	
   DESCRIPTION:  corename extracts the filename of the program that
   generated a core file in the current directory or from the path 
   name that is supplied on the command line.

*/

  #include <stdio.h>
  #include <stdlib.h>
  #include <sys/user.h>
  #include <sys/param.h>
  #include <sys/ldr.h>
  #include <sys/core.h>

  main(int argc,char **argv)
  {
    /* We need a file descriptor and some space for the
     core dump header */

    FILE *corefile;  /* file descriptor for corefile */

    char programmename[MAXPATHLEN];  /*buffer to hold program name */

    /* Open up the core file. If the command is given with no
       arguement then try and open up a file named core in
       the current directory */

    if( argc < 2 )
      {
	if( (corefile = fopen("core","r")) == NULL)
	  {
	    fprintf(stderr, "can't open core file\n");
	    exit(1);
	  }
      }
    else
      {
	if( (corefile = fopen(argv[1],"r")) == NULL)
	  {
	    fprintf(stderr, "can't open %s\n",argv[1]);
	    exit(1);
	  }
      }

    /* We can get the name of the file that generated this core
       dump by positioning the file pointer  sizeof(core_dump)+
       sizeof(ld_info)-sizeof(char *) from the start of the file
       then read until we hit a NULL. */ 
    
    fseek(corefile,CHDRSIZE+sizeof(struct ld_info)-sizeof(char *),SEEK_SET);
    fgets(programmename,MAXPATHLEN,corefile);
    printf("%s\n",programmename);
	
  }
Newsgroups: comp.unix.aix
From: lopez@aristotle.ils.nwu.edu (Chris &)
Subject: Re: Making gcc-2.2.2 on RS6000
Organization: The Institute for the Learning Sciences
X-Newsreader: Tin 1.1 PL5
Date: Wed, 9 Sep 1992 20:58:25 GMT

Thomas Braunbeck/131000 (fuzzy@obelix.ncs.mainz.ibm.com) wrote:
: lopez@aristotle.ils.nwu.edu (Chris &) writes:
: |> Tom McConnell (tmcconne@sedona.intel.com) wrote:
: |>
: |> IBM now claims to have a 3.2 version of this patch.  Same APAR number
: |> obviously, PTF U403044.
: 
: And PTF U403044 is superseded by PTF U407530.
: So ask for PTF U407530.
: 
: Best regards,   Thomas Braunbeck
: AS Software Service AIX, Germany

Too late.  I ordered U403044 just before I posted yesterday.  On the bright 
side IBM altered the order somewhere along the line to U407530 which
arrived today.  

Overall I have been very impressed with IBM software support.  Now if they
could only get some competent people in the sales and SE positions.

Chris Lopez
Northwestern University
Newsgroups: comp.unix.aix
From: croyer@atg.amex-trs.com (Chuck Royer)
Subject: Using RS/6000 for mainframe printing
Date: Tue, 8 Sep 1992 17:07:40 GMT
Reply-To: croyer@atg.amex-trs.com
Organization: American Express Advanced Technology Group
Keywords: Printing HCON
Followup-To: comp.unix.aix

Configuration:  RS/6000 530 running AIX 3.2 (NO PATCHES) with IBM 4019
		laser printer attached to parallel port lp0.

My organization wants to use the 4019 laser printer as a mainframe printer.
We have had an LU set up and a printer ID assigned for this.  I have set
up an HCON session that sends the printer output to the 4019 printer queue
"asc" (ASCII print queue).  All this seems to work except the printer will
print ONLY ONE LINE PER PAGE.

I have directed the output to a file rather than a print queue and the file
contains no extra page feed commands.  In fact, this file can be printed
just fine with the "lpr" command to the ASCII printer.  I can also use
/dev/lp0 as the file and the printer will print the job fine.  The problem
here is that this bypasses the print queue mechanism and problems with
contention cannot be avoided.

Has anyone successfully set up a 4019 printer in this manner?  Does anyone
know if the print stream is modified by HCON when a job is sent to a printer
queue as opposed to a file?  I plan to experiment with the virtual printer
settings for the ASCII print queue, but I don't understand why this is 
necessary when everything else prints OK.

Any help would be greatly appreciated.  Send e-mail and I will summarize if
there is interest.

-- 

**********************************************************
Chuck Royer
Computer Horizons Corporation
On contract to: American Express Advanced Technology Group
Internet: croyer@atg.amex-trs.com
Voice: (602) 548-6020
**********************************************************
From: favre@medsun.unige.ch (favre)
Newsgroups: comp.unix.aix
Subject: How to configure the mail
Date: 15 Sep 92 15:27:38 GMT
Organization: University of Geneva, Switzerland

I hope it isn't a FAQ, but I don't read frequently this
newsgroup.

I have an IBM RS/6000, and I can receive mails but I can't
send them (nor reply). The system reply with the following
message : 
	send... User unknown: No such file or directory
What is wrong ?
How do I have to configure the e-mail system ?

Many thanks.

		Eric Favre, favre@medsun.unige.ch
From: pa@curly.appmag.com (Pierre Asselin)
Newsgroups: comp.unix.aix
Subject: Re: AIX malloc and fault tolerance
Date: 8 Sep 92 19:54:32 GMT
Organization: Applied Magnetics, Goleta, CA

In <1992Sep3.135156.9166@medtron.medtronic.com>
	sh0001@israel (Scott Hansohn) writes:

[He bumped into the malloc virtual allocation nonsense again.
 I still get mad just thinking about it.]

>I have questions:
>    1) Has anyone seen a system where static memory may not really be
>       there, or where a nonzero malloc doesn't guarantee the successful
>       usage of the memory?

Alas, yes.  When this thread started about 18 months ago, I tried a
malloc-touch loop on a DG aviion.  No NULLS from malloc, processes
get killed.  Damned!  I didn't try large static arrays.

DG has been reasonably good at not reinventing the wheel; this
wonderful feature may come to us from AT&T;  netters confirmed this.
I was told, however, that it is not a part of the SVID.

>    2) Has anyone heard of SIGDANGER before?

It's an IBM innovation.

>    4) Even if I use this malloc wrapper everywhere in my own code,
>       how do I deal with third-party code I purchase that calls the
>       unwrapped malloc?

Or with the pre-linked code in libc.a?
Get your money back.  (Hah! right.)

Some arguments to the effect that vapour-memory was a good thing were:
 -Lets you use gigantic sparse arrays.
 -Lets vendors ship Fortran binaries with static arrays dimensioned
  to maximum size, and yet have them run on small machines for small
  problems that use only part of the arrays.

I'm skeptical.  Sparse arrays at 4kB/page?  As for the Fortran bit, it
only makes sense on machines dedicated to a single application.  That
sure isn't the way we use ours.
-- 

--Pierre Asselin, Magnetoresistive Head Engineering, Applied Magnetics.
  pa@appmag.com        the usual disclaimers apply.
Newsgroups: comp.unix.aix
From: tmcconne@sedona.intel.com (Tom McConnell~)
Subject: Re: Meta key in xmh
Originator: tmcconne@sedona
Keywords: xmh, meta
Organization: Intel Corporation
Date: Tue, 8 Sep 1992 23:58:39 GMT


In article <88250@netnews.upenn.edu>, walet@walet.physics.upenn.edu (Niels R. Walet) writes:
> I experience a problem using the Meta key edit commands that should
> be defined in xmh, according to the documentation. It seems to be
> a problem of having the text widget receiving these codes. 
> I have no problem with Emacs or the Mwm window manager, that both
> use Meta keys themselves.
> 
> Someone on the net must have discovered a solution to that problem!
> My parameters:
> AIX 3.2.2 on a RS6000/340, running X R-4
> 
> Niels Walet
> 
> 

  I do this in .xinitrc:
        if ($Architecture == "RsArchitecture") then
            # Fix the meta key for xmh.
            xmodmap -e "keycode 68 = Meta_L Alt_L"
        endif

The Architecture variable is set to whatever I am running on. The problem (as I
recall) is that the left-hand Alt key sends out "Alt_L", but not "Meta_L".

    Cheers,

    Tom McConnell
-- 
 Tom McConnell          |     Internet: tmcconne@sedona.intel.com
 Intel, Corp. C3-91     |     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