HDTenEightyP/NetNews huggingface dataset:
From: mbeckman@mbeckman.mbeckman.com (Mel Beckman)
Newsgroups: comp.unix.aix
Subject: ksh can't see script!  Am I stupid or what?
Date: Fri, 14 Aug 92 21:54:36 PST
Organization: Beckman Software Engineering
Reply-To: mbeckman@mbeckman.com
Distribution: world
X-Mailer: uAccess LITE - Macintosh Release: 1.5v5

Help!  I'm installing the Andrew Tool Kit from CD and am stumped at a certain
point. I have copied (untared) a script called ATKSETUP into a /tmp/scripts
directory, and put /tmp/scripts: in my path. When I try to run ATKSETUP,
though (by just typing its name) it says 

   /bin/ksh: ATKSETUP: not found

Yet I can SEE ATKSETUP in the directory. I can 

   cd /tmp/scripts 

and type

   cat ATKSETUP 

and get a list of it, but when I type ATKSETUP by itself it
says it's not found!

An alternative install method given by Andrew is to run the install script
straight from the cd. I have the cd fs mounted at a directory /cdrom, using

    mount -v -r cdrfs /dev/cd0 /cdrom

and typing

    ls -l /cdrom

gives a list of the CD's contents, one file of which is called, oddly, "atksetup."
(lower case instead of upper, and ending in a period). However, I can't
get this to run either.

The really maddening thing is that I installed a different model 220 (and
shipped it out) with the Andrew system and it worked flawsessly!  Both 220's
were pre-loaded, so all I did was apply some optional preloaded software
and then jump right into the Andrew install.

Argghghghgh!!!!

I know it's something simple, but I just can't see it!

-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: rmcghee@fnma.com(Rich McGhee)
Subject: VT100 for NeXT and AIX 3.2
Reply-To: rmcghee@fnma.com
Organization: Fannie Mae
Date: Wed, 19 Aug 1992 19:37:45 GMT

We are having trouble doing telnets and rlogins between NeXTs and  
RS/6000s.  Has anybody seen this before?

--
Rich McGhee
Federal National Mortgage Association
Wash DC
NeXTMail: rmcghee@FNMA.COM
Newsgroups: comp.unix.aix
From: dwight@geohub.gcn.uoknor.edu (Dwight D. Moore)
Subject: Re: HELP: Change blocksize on 8mm tape on RS/6000
Keywords: 8mm Tape RS/6000 Blocksize
Reply-To: dwight@geohub.gcn.uoknor.edu
Organization: Geosciences Computing Network, Univ. of Oklahoma
Date: Fri, 21 Aug 1992 14:57:33 GMT

In article <1992Aug19.171332.15803@bert.eecs.uic.edu>, artn@bert.eecs.uic.edu (Ellyn
Sandor) writes:
|>
|>	Is there any way to change the blocksize on an RS/6000 8mm
|>tape drive?  After a lot of messing around, I finally figured out
|>that one of the problems with what I'm working on is that if I try
|>to write() a record with a number of bytes that is not a multiple of
|>1024 bytes, I get an "bad argument" message.  Is there a switch for
|>this, or do I have to work with it?
|>	I am trying to emulate tape formats for graphic arts systems,
|>including the LV3 format and DDES.  The LV3 format I was trying to write
|>wanted a blocksize of 36000 bytes, and DDES wants a bunch of 80 byte
|>headers written.
|>	Or... is this a dumb question?  Are 8mm tapes constrained
|>by convention to blocksizes that are multiples of 1K?  In other words,
|>do I just THINK the computer on the other end wants another blocksize,
|>but really, I should just be padding out the data?
|>	(Oh, yeah, if anyone is familiar with DDES, do the VOL1, HDR1, 
|>UHL1, etc records have to be (a) 80 byte blocks (b) padded to 1024 byte
|>blocks with one of these records in each block or (c) all the 80 byte
|>blocks lumped together in one 1024 byte block?  The ANSI standard does
|>not seem to deal with this, although the writing is sort of dense...)
|>
|>	Thanks in advance!
|>				Stephan Meyers
|>-- 
|>--
|>Stephan Meyers | artn@uicbert.eecs.uic.edu
Yes, we have had a similar problem with NEXRAD radar data tapes which have a very
non-ANSI standard maximum block size of 145920. You can change the 8mm block
size as such:
	chdev -l rmt0 -a block_size=1024

To check the current settings, use
	lsattr -E -l rmt0

As a matter of fact, I understand that a 1024 block size is more efficient on Exabytes
8mm since that is the actual block size the hardware uses to write to the media. I
believe the ANSI standard only restricts the maximum record size to 64K bytes.

----------------------------------------------------------------------------
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.
----------------------------------------------------------------------------
From: rudy@chukran.austin.ibm.com
Newsgroups: comp.unix.aix
Subject: Re: RS/6000 Wanted
Date: 20 Aug 92 00:20:36 GMT
Reply-To: chukran@austin.vnet.ibm.com(Rudy Chukran)
Organization: IBM Advanced Workstation Division

In article <1992Aug16.051419.20517@tcomeng.uucp>, daryl@tcomeng.uucp (Daryl Jones) writes:
|> 
|> WANTED:    IBM RS-6000 Model 530, or similar.    Need for personal 
|> 		software development use.  All configurations will
|> 		be considered.
You might check out the AIX Power Team software developers program, which,
among other things, can lease a system on a short term basis.
This program is intended for software developers to give them a quick start
in getting their product ported to the Risc System/6000. The main qualification
is that the company intends to sell thier product in the open market.
Im not sure if "personal software development" is the same.
Call 1-800--627-8363 for more information.
-- 
*********************************************************************
Rudy Chukran                |       EMAIL:            
IBM AIX Technical Consulting| RSCS: CHUKRAN at AUSTIN 
11400 Burnet Rd.            | AWDnet:rudy@chukran.austin.ibm.com    
Internal ZIP 2830           | internet: chukran@austin.vnet.ibm.com
Austin, Texas 78758         |
*********************************************************************
From: trt@duke.cs.duke.edu (Tom Truscott)
Newsgroups: comp.unix.aix
Subject: Re: Renaming logical volumes under filesystems?
Keywords: chlv chfs
Date: 12 Aug 92 23:52:00 GMT
Organization: IBM RTP

>Suppose I have a hypothetical file system, /usr/local/spare, on a
>hypothetical logical volume /dev/lvloc86.  I want to rename the logical
>volume to /dev/lvloc99 without losing anything.

You can do this with:
	chlv  -n lvlov99  lvloc86

Only gotcha is: the file system must be unmounted.
That is a nuisance, report it as a bug if you want,
but at least chlv issues a clear error message if the file system is mounted.
	Tom Truscott
From: renaud@proust.CERCA.UMontreal.CA (Alain Renaud)
Newsgroups: comp.unix.aix
Subject: pbm finding a ip address with rlogin
Keywords: ping telnet rlogin
Date: 21 Aug 92 13:59:09 GMT
Reply-To: renaud@CERCA.UMontreal.CA
Organization: Cerca, Universite de Montreal

HI,

Here my pbm. It seem that rlogin does not use the same protocol for 
finding a hosts then ping or telnet.

when i try to ping or telnet a machine true a gateway with it's IP number 
i have no pbm but if i try rlogin I received "host not found". So I
solve my pbm using telnet insted but it is not the best.

My system is a RS6000-340 with AIX3.2.1 

						Thanks

-- 
==============================================================================
=                                                                            =
= Alain Renaud                                           Responsable Systeme =
= Email: renaud@CERCA.UMontreal.CA                                     CERCA =
= tel: (514)369-5221                          5160 Boul. Decarie, bureau 400 =
= fax: (514)369-3880                                        Montreal H3X 2H9 =
=                                                                            =
==============================================================================
Newsgroups: comp.unix.aix
From: jvolpe@ncsa.uiuc.edu (James Volpe)
Subject: Re: nfs disc mount
Originator: jvolpe@mars.ncsa.uiuc.edu
Organization: Dow Chemical
Date: Wed, 12 Aug 1992 15:34:18 GMT


In article <1992Aug12.141956.18244@tamsun.tamu.edu>, rse8135@dewie.tamu.edu (R.S. Etheredge) writes:
|> I have an RS/6000 with too small a disc. So I wanna nfs mount one of the  
|> big discs on one of my NeXT machines. Performing the required steps thru  
|> SMIT and thru NeXT gets me an error on the RS when i want to mount the  
|> volume tht says something to the order that privileges disallow this  
|> operation. Anybody have any hints?

I had the same problems under 3.1.5.  Try stopping and restarting NFS via smit.  This
worked for me.

Jim Volpe
Dow Chemical
jvolpe@ncsa.uiuc.edu
From: pavel@pixel.SLAC.Stanford.EDU (Tom Pavel)
Newsgroups: comp.unix.aix
Subject: Re: Help with nlist(), XCOFF, and memory architecture...
Date: 19 Aug 92 23:30:10 GMT
Organization: Stanford Linear Accelerator Center
In-reply-to: pavel@pixel.SLAC.Stanford.EDU's message of 16 Aug 92 01:04:02 GMT


[Since I did so well last time, I might as well press onward...]

> I'm trying to implement a dynamic function call mechanism (you find
> out the name of the function at run-time, look it up in the symbol
> table, and call the right address).  On my Sun, this worked very
> trivially: an nlist() call returns the symbol table value for the
> function, which happened to be the C-callable address of the
> function. Of course, this is not quite so trivial on an RS/6000.... 

Many thanks to John Gerth, and to the various originators of the info
he reposted.

  [ The trick is that the address of a function is actually the
    address of a 12-byte function descriptor, which contains the
    address of the text of the function in the first 4 bytes, and the
    address of the TOC table for that segment in the next 4 bytes.]


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).

- 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.  I can find the TOC by looking in main()'s
function descriptor.  But what if I wanted to call a function in a
shared library (not one that I load() in, but one that my program is
linked with)?

- It seems to me that AIX is missing (or has failed to document) some
magic system call that returns to me a list of all memory segments
(i.e. shared libraries) in my current process, and their base
addresses.  In fact, there is a call ld_getinfo() that appears in
<sys/ldr.h> which looks suspiciously like it does this, but that call
does not appear in syscalls.exp (or any of the libraries).  What good
is the load() call, and all the XCOFF support for dynamic linking, if
I can't figure out how to call an arbitrary routine in the shared
library once I've linked it in?  [Pat Gainer's solution of a priori
knowing what the first entry point in the module is does not
constitute a general solution.]

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

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


Tom Pavel

Stanford Linear Accelerator Center
pavel@slac.stanford.edu
Newsgroups: comp.unix.aix
From: fletcher@netcom.com (F. Sullivan Segal)
Subject: Re: AIX 3.2 - Can't use NULL pointers?
Date: Mon, 17 Aug 92 15:34:26 GMT
Organization:  bottom up!
Keywords: X, lockups, BS

In article <1992Aug7.213644.12166@ncs.com> bruce@ncs.com (bruce parkin) writes:
>Got another strange one. Short and sweet: IBM tells us we cannot 
>use NULL pointers (a pointer set equal to NULL: ptr = NULL;
>if (ptr==NULL) ) in our code. Anyone able to shed some light on this? 
>IBM has yet to; they have just made this statement to us.
>
>Some more details....
>
>We have had a reoccuring problem with "screen lockups". 1 type
>is where the X server will die and and leave the screen frozen -
>mouse, windows, and all input. An empty core is left. Another type
>is where the X server may or may not die, but the screen is also
>locked. No core. We know about AIX killing processes that hog 
>resources whenever the AIX god decides it feels like it, especially
>with a lack of paging space. We have heard AIX 3.2 suspends the 
>hog process (I have asked but not got a clear answer what "suspend"
>means - but I assume the worst based on experience).
>
If your process is getting kicked out of the process table, try
running SUID root, and add a plock(), and nice() pair in the 
initialization code.

If you are having problems with X dying, try the following (which
has worked for us):
   Make sure that upon leaving X the job that created the X process
is still logged in.  (X will die if it fails on a write to the 
parent processes terminal it seems).  
   Don't run the xlock program.  It doesn't work anyway.  (Ie: it
doesn't lock the X server, <Ctrl><Alt><Bs> still exits the server,
and leaves you with a login prompt if you've followed the previous
suggestion.
   Don't enable backing store for 3.1.5.  It seems to work fine
in 3.2.
   Try running the X server from a pseudo terminal.  (eg: "open xinit -bs").

   
   
   
--
                           -F. Sullivan Segal
_______________________________________________________________
 _
/V\  E-Credibility:  (n -- ME) The unguaranteed likelyhood that
 '   the electronic mail you are reading is genuine rather than
someone's made up crap.
_______________________________________________________________
Mail to: fletcher@netcom.com
From: alhy@unixhub.slac.stanford.edu (J. Scott Berg)
Newsgroups: comp.unix.aix
Subject: Re: xlf (2.2.1.3) preprocessor bugs
Date: 13 Aug 92 00:56:10 GMT
Reply-To: alhy@unixhub.slac.stanford.edu
Organization: Stanford University, dept of Physics / SLAC

In article <92225.150716ATPPH@ASUACAD.BITNET>, ATPPH@ASUACAD.BITNET writes:
|> 
|> I have some problems with the preprocessors of xlf. My machine is a
|> RS/6000 530H running AIX 3.2 with xlf version 2.2.1.3. The machine has
|> 64MB RAM and 356MB paging space.
|> 
|> The problems are:
|> 
|> Pk preprocessor (Version 02.02.0100.0000 2.12o5r3so3):
|> options used: optimize=5,roundoff=3,scalaropt=3,library-calls=essl,agressive=a
|> 
|> One line in the offending subroutine is translated incorrectly.
|> original statement:  s = 1.s0-dtexp(j-1,i)
|> translated into:     s = dtexp(ii1-1,i) + 1.d0
|> (sign of dtexp() is wrong, dtexp is an array)
|> The problem does not occur for optimize=2 and lower. The differences between
|> optimize=5 and 2 in the translated code are (a) the problematic line and
|> (b) two lines where () are placed around an expression (correctly).
|> I suspect a bug in the preprocessor here. I had this problem with an earlier
|> version but it seemed to be fixed in an IBM test version. However, the bug
|> is still in the xlf release that came with our AIX 3.2 upgrade.
|> 
|> 
|> Pv preprocessor: (Version 02.02.0000.0000 3.05F16)
|> options used: -Pv -Wp,-o,-ea478  (or -Pv -Wp,-ew,-ejr4789,-me,-o,-l,-pacrvz)
|> 1. Problem: two subroutines give (many) error messages of the form
|> -->
|> 51.00   1524-282: (I) Unable to allocate multidimensional temporary arrays.
|> 47.00   1524-041: (I) Internal error detected.  Call service representative.
|>                      Internal segment WHRSET.
|> --<

I have similar problems.  I'm running 2.2.0.0, os 3.1.7

Code compiled with -Pk will apparently loop infinitely!  (Doesn't if I
don't use -Pk).  I'm unhappy!

				-Scott Berg

-- 
-------------------------------------------------------------------------------
The opinions expressed here are, of course, my own and nobody else's.
-------------------------------------------------------------------------------
J. Scott Berg
email: alhy@unixhub.slac.stanford.edu
real mail: Varian Physics
           Stanford  CA  94305-4060
phone:	(415) 926-4732 (w)
 	(415) 328-8246 (h)
-------------------------------------------------------------------------------

Newsgroups: comp.unix.aix
From: kstailey@leidecker.gsfc.nasa.gov (Kenneth Stailey)
Subject: Re: documentation on getpriv/setpriv?
Organization: /kstailey/.organization
	<1992Aug9.154216.19350@mintaka.lcs.mit.edu>
	<1992Aug9.202114.22427@awdprime.austin.ibm.com>
	<1992Aug12.063644.19476@mintaka.lcs.mit.edu>
Date: Sat, 15 Aug 1992 06:14:52 GMT

gee look at this:

ken@chocolate:~$ uname -s -r -v ; echo BETA
AIX 2 3
BETA
ken@chocolate:~$ strings - /usr/sbin/ftpd | grep '[gs]etpriv'
getpriv
setpriv

I wonder how those strings got in there on a (supposedly)

> POSIX-COMPLIANT system

I guess they must be in a printf call used for debugging or something like
that.

Ken

 -----------------------------------------------------------------
	It's not just my .signature file, It's also a client!

replys to kstailey@gnu.ai.mit.edu or kstailey@leidecker.gsfc.nasa.gov
--
 -----------------------------------------------------------------
	It's not just my .signature file, It's also a client!

replys to kstailey@gnu.ai.mit.edu or kstailey@leidecker.gsfc.nasa.gov
From: kmanaval@mcs.kent.edu (Manavalan Kesavan)
Newsgroups: comp.unix.aix
Subject: COMPUTER FOR SALE
Date: 19 Aug 92 19:13:18 GMT
Distribution: usa
Organization: Kent State University
Originator: kmanaval@Chaos.mcs.kent.edu


	#####  FOR SALE  #####

	IBM RS/6000 320.  
		32 Meg Ram, Internal 120 Meg hard drive,
		SCSI Card, 20" Greyscale Monitor (IBM 8508), 
		4-bit greyscale video card,
		Keyboard, mouse, AIX 3.2, AIX Windows.

	Everything is in perfect working order.

	Selling Price:	$5500.00 or best offer.

	Name:		Eric Jenkins
	Telephone #:	(216) 425-4160 (evenings -- home)
			(216) 425-9055 (daytime  -- work)
			(216) 425-9059 (FAX)

	e-mail:		eaj@trionix.com
From: markl@spuddy.uucp (Mark Liversedge)
Newsgroups: comp.unix.aix
Subject: Getting the broadcast address...
Date: 3 Aug 92 13:48:02 GMT
Organization: Spuddy's Public Usenet Domain

HELP!!!! I want to find out the broadcast address as configured via
ifconfig for the ent0 and/or en0 devices. 

So far all I have tried is opening up a socket(PF_UNIX, SOCK_DGRAM, 0) and
doing an ioctl SIOCGIFBRDADDR. Is this the way to do it? I so mine does not
work.

I am using 3.2 on a 550... any other info especially relating to ICMP would
be gratefully appreciated...

Mark.
-- 

 * Meeeow ! Call Spuddy on (0203) 638780/638693 for FREE mail & Usenet access *
From: leuthold@atmo1.atmo.arizona.edu
Newsgroups: comp.unix.aix
Subject: emacs 18.58 problem
Date: 17 Aug 92 23:48:32 GMT
Organization: University of Arizona, Atmospheric Sciences


	I'm currently having problems with emacs 18.58.5 on a 560 running AIX
3.2.  A user will bring up a emacs session using a DECstation as a Xserver.  He
will work for awhile and then exit.  He says everything seems to exit fine,
however, the emacs process stays on the IBM and gets into some kind of loop and
hogs the cpu.  The user (or myself) then has to go and kill the process.  Has
anyone seen this problem?  Thanks in advance.
Mike

leuthold@atmo1.atmo.arizona.edu
Newsgroups: comp.unix.aix
From: map@hal.maths.monash.edu.au (Michael Page)
Subject: Re: editing history 
Organization: Mathematics Department, Monash University, Australia
Date: Sat, 22 Aug 1992 06:08:25 GMT

jern@visual1.jhuapl.edu (Bob Jernigan) writes:
>
> In recent AIXTIPS, #92284, suggests key settings to use the command 
> history/recall features of ksh with the grey key.  Anyone get this to 
> work as written.  I get strange results.
>

Actually there's a better way to do it which slipped through this group
a couple of months back.  Unless you are totally wedded to "vi", use 
"emacs" line editing mode and define the following in your .kshrc file

            set -o emacs
            alias __A="^P"
            alias __B="^N"
            alias __D="^B"
            alias __C="^F"
            alias __H="^A"

Many thanks to Tim Fredrick of NCAR for pointing out this virtually
undocumented method.  The gotcha is that it only works on AIX 3.1 as
a bug was introduced in AIX 3.2, but apparently APAR ix25982 fixes this.

Unlike the method mentioned in AIXTIPS, this works on any ksh session,
whether or not you're in aixterm.  The feature is pretty much hidden away 
in the ksh documentation and in my version of 'info' has a typo, with one 
of the underlines missing.


--
+------------------------------------------------------------------------------+
 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
+------------------------------------------------------------------------------+
Newsgroups: comp.unix.aix,comp.windows.x
From: gerth@watson.ibm.com (John Gerth)
Subject: Re: Hanging X11R4 server under AIX3.2.1
Date: Thu, 20 Aug 1992 04:02:05 GMT
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: IBM T.J. Watson Research Center

By doing i/o to a new hft (the cat to /dev/hft/1), you cause the kernel
to ask the current (i.e. hung X server) to give up control - I think
the mechanism is a signal (perhaps SIGRETRACT).  If this signal is
not responded to within a specified interval (perhaps 30-60 secs), then
the display is summarily grabbed and handed to the new hft. 

Of course, the real question is why the X server got hung in the
first place.

-- 
John Gerth	 gerth@watson.ibm.com		(914) 784-7639
Newsgroups: comp.unix.aix
From: hubert@rs530.ncs.mainz.ibm.com (Bernhard Zeller/131000)
Subject: Re: ehen to do things at strtup
Date: Fri, 21 Aug 92 12:16:53 GMT
Reply-To: zeller@mazvm02.vnet.ibm.com
Organization: IBM Germany, AIX Support Germany

To clean up /tmp at startup in AIX 3.2 you should edit '/sbin/rc.boot'.
Search for 'inittab'. You should find following contents:

                        3)      # Phase 3 inittab finish boot - disk

                        mount | grep ' /usr ' | grep ' nfs '
                        if [ "$?" -eq 0 ]
                        then
                                # Start the portmapper
                                /usr/etc/portmap &
                                /usr/etc/rpc.statd &
                        fi

                        if [ -r /etc/filesystems ]
                        then
                                fsck -fp /tmp
                                echo "Mounting /tmp"
                                mount /tmp
                        else
                                fsck -fp /dev/hd3
                                echo "Mounting /tmp"
                                mount -olog=/dev/hd8 /dev/hd3 /tmp
                        fi


Add after the last 'fi' above following lines:

                        rm -rf /tmp/*
                        rm -rf /tmp/.??*

The next lines in rc.boot should be:

                        # Volume group sync.
                        /etc/syncvg -v rootvg &

Bernhard Zeller