HDTenEightyP/NetNews huggingface dataset:
From: rhcoe@buscfg.austin.ibm.com (Rich Coe)
Newsgroups: comp.unix.aix
Subject: Re: What is the equivalent of vhangup() on AIX?
Date: 16 Oct 92 00:18:26 GMT
Reply-To: rhcoe@austin.ibm.com (Rich Coe)
Organization: IBM AWD, Austin, TX

In article <1992Oct14.135025.4793@jarvis.csri.toronto.edu> ahmedk@white.toronto.edu (Khalid Ahmed) writes:
>Hello,
>
>I'm porting some BSD code to AIX. Could some kind soul please
>tell me the AIX equivalent of the vhangup system call?
>I can't find any references to it in the man pages and
>all my compiles have the BSD flag defined as well
>as linking to the bsd library.
>
>Thank you very much.
>
>Khalid Ahmed
>Computer Science Research Institute
>Univerisity of Toronto
>

vhangup() has been replaced by revoke() and frevoke().


Regards, Rich Coe
-----
"Pizza with everything means jalapenos"
UUCP: ...!uunet!ibmsupt!rhcoe                         IBM AIX BOS Field Quality
Internet: rhcoe@austin.ibm.com                        Austin, TX
From: lusol@Lehigh.EDU (Stephen O. Lidie)
Newsgroups: comp.unix.aix
Subject: Re: "A system call received a parameter that is not valid."
Date: 12 Oct 92 19:06:47 GMT
Organization: Lehigh University, Bethlehem PA

In article <bw0klc.da6@wang.com> bpytlik@wang.com (Bogdan Pytlik) writes:
>
>	I am getting this message when I run 'copy -rp'.
>	Does anybody seen this before, or know anything about it ?
>	I am running AIX 3.2.1.
>	Any hints will be greatly appreciated.
>	Regards,
>	Bogdan
>	
>
>$ copy -rp junky /tmp
>/tmp/junky: A system call received a parameter that is not valid.
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ what is that ?

Yep, I want to know what that REALLY means too!  We wasted lots of time
trying to figure that one out when doing tape I/O, either to QIC, 8mm or
9 tracks drives.  In our case changing the block size parameter 'fixed'
things. FYI, we now run like this:

   device               block size
   ------               ----------
   9 track               0
   QIC                   512
   8mm                   1024

Are these reasonable values.... at least the messages have gone away (-: ?

Sorry Bogdan, don't know what to tell you......

SOL
From: dss@minster.york.ac.uk
Newsgroups: comp.unix.aix
Subject: getfh()
Date: 13 Oct 92 16:26:29 GMT
Organization: Department of Computer Science, University of York, England

I am attempting to port a mount daemon to a 530 running AIX 3.1.5,
but I cannot find a definition of the function getfh() (which
returns an NFS file handle).

Does anyone know of the solution to this problem?
From: marc@watson.ibm.com (Marc Auslander)
Subject: Re: copy-on-write fork()?
Date: Tue, 13 Oct 1992 21:15:19 GMT
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: IBM T.J. Watson Research Center, Hawthorne, New York

AIX V3, the AIX on the RS/6000, does copy on reference (rather than
write) fork.  
--


Marc Auslander       (IBM)<marc@marc.watson.ibm.com>      914 784-6699
                     (Internet)<marc@watson.ibm.com>
Newsgroups: comp.unix.aix
From: nlane@well.sf.ca.us (Nathan D. Lane)
Subject: Compiling Andrew on AIX 3.2 - no go!
Organization: Whole Earth 'Lectronic Link
Date: Tue, 13 Oct 1992 05:04:07 GMT

I am trying to compile the latest version of Andrew, the one that has been
mentioned on this newsgroup several times, on an AIX 3.2 system, specifically
a model 220.  I believe I have done everything correctly and have followed
instructions to the letter.  However, I can't even get past the first 
makefile.  I have compiled "imake", and that works okay to make the makefiles.

However, when I try the "make World" that is mentioned that I must do, I get:

Checking that BASEDIR is not the location of the source files.
Checking Destination Directories....
          -c -m 0444 config/ImakeMacros.d  /doc/ImakeMacros.d
sh: -c: not found
The error code from the last failed command is 1.

Make Quitting.

Which, unfortunately, totally mystifies me.  I am NOT a make expert.  I assume
that it thinks I am using some undefined shell or it is expecting the 
"install" command to be availalbe.  However, when I type "install", it is
indeed found by the system.  I tried the same makefile in the C-shell rather
than the korn shell and I get the exact same error message.  Is there something
wrong with IBM's imake.tmpl?  I know IBM does NOT support imake, so I can't
ask them (even though they partially funded andrew).  Any suggestions?  I do
have a 3.1.5 system I can compile this on, but it is not easy to take a system
out of production just to compile something.

Just in case it matters:

	AIX 3.2.2
	IBM X11r4 - with examples compiled and symlinked into /usr/bin/X11
	100MB swap space, on a 32MB system - not even near used

I would appreciate any help on this problem - as it could mean my job!
(And many other things about AIX could mean it too!)

-Nathan Lane
Trico Title Company,k Santa Barbara, CA
nlane@well.sf.ca.us
From: pfenning@risc3.mi.Uni-Koeln.DE (Joerg-Thomas Pfenning)
Newsgroups: comp.unix.aix
Subject: driver status for tape devices
Date: 15 Oct 1992 16:06:42 GMT
Organization: Institute for Mathematics, University of Cologne, Germany
Distribution: world
NNTP-Posting-Host: risc3.mi.uni-koeln.de

Can anybody enlight me how to access the information block

struct tape_device_df 

which is defined in sys/tapedd.h by looking at the kernel? I want
to make a real time display like monitor for the tape operation.

Thanks

-- 
Postal: Thomas Pfenning, University of Cologne, Institute for Mathematics
        Weyertal 88-90, W 5000 Koeln 41, Germany
E-Mail: pfenning@risc3.mi.uni-koeln.de
Phone:  +49 221 470 3937
Fax:    +49 221 470 5160

Newsgroups: comp.unix.aix
From: chris@quay.ie (Christopher Davey)
Subject: logging in using modems
Date: Fri, 16 Oct 1992 13:51:47 GMT
Organization: Quay Financial Software

Since upgrading to AIX 3.2.0 (from 3.1.5) we have been having problems
dialing into our RS6000. The symptom is: 
the modems (2 Motorola codex 3265s) establish contact and then 
immediatly after getting the carrier established, drop the line.

This does not seem to be a problem with the modems, for 2 reasons:
1. Dialing out works
2. If a kermit program is connected to the tty, then the modems will
connect and hold the line open.

It seems that getty decides to close the connection, just after it 
has been established.

Has anybody else had an experience like this ?


Chris
-- 
----WNA----------------------------------------------------------------------
Chris Davey                       Internet:  chris@quay.ie
Quay Financial Software           Phone   :  +353 1 612377  Fax: +353 1 607592
Newsgroups: comp.unix.aix
From: vp@fct.unl.pt (Vasco Pedro)
Subject: Re: How can I find out which model of RS/6000 am I logged on ??
Organization: Universidade Nova de Lisboa -- Lisbon, Portugal
	<1992Oct12.154641.129709@ipgaix.unipg.it>
Date: Wed, 14 Oct 1992 11:15:25 GMT


Yet another get-this-rs6000-model-and-os-version-and-name script:

#!/bin/sh
# This script determines the machine type for RS/6000's.
# Adapted from one by Tom McConnell <tmcconne@sedona.intel.com>.

uname -a | \
  awk \
    'BEGIN {
	     model["10"] = "530 or 730"
	     model["11"] = "540"
	     model["14"] = "540"
	     model["18"] = "530H"
	     model["1C"] = "550"
	     model["20"] = "930"
	     model["2E"] = "950 or 950E"
	     model["30"] = "520"
	     model["31"] = "320"
	     model["35"] = "320H"
	     model["37"] = "340"
	     model["38"] = "350"
	     model["41"] = "220"
	     model["5C"] = "560"
	     model["63"] = "970"
	     model["64"] = "980"
	     model["66"] = "580"
	   }

	   {
	     print $2 ": RS/6000 " model[substr($5, 9, 2)] " running " $1 " " $4 "." $3
	   }'

exit 0

Enjoy,
vasco
--
.signature illegible
Newsgroups: comp.unix.aix
From: tbel@oahu.cern.ch
Subject: Re: Limiting Logins on the RS/6000
Organization: IBM
Date: Tue, 13 Oct 1992 20:01:58 GMT

If the connection is over the network, rather than via serial lines,
you can set the user so that rlogin/telnet access is not permitted.
This is one of the options in 'smit user'.

We're using this facility on the compute cluster to stop users getting
access to the batch systems.

--
Tim Bell
IBM High Energy Physics European Centre
CERN, Geneva, Switzerland
TBEL@CERNVM.CERN.CH

Newsgroups: comp.unix.aix
From: spurcell@siva.mcd.intel.com (Stacy Purcell ~)
Subject: no collisions
Organization: Memory Components Division
Distribution: comp.unix.aix
Date: Thu, 15 Oct 1992 20:55:24 GMT

How come our RS6000s never show any collisions? When I type netstat -I en0,
I get the something similar to the following.

Name  Mtu   Network     Address         Ipkts    Ierrs Opkts    Oerrs Coll
en0   1500  <Link>                       2147555     0  2341201    60     0
en0   1500  fmt-net     eeyore           2147555     0  2341201    60     0

The collision column is always 0.

Background info
---------------
Star topology with Synoptics concentrators for the hubs.
The workstations are connected via UTP to the hubs in a comm closet.
SQE is turned off on the tranceivers.
Netmask: 255.255.255.0
Network address: Class B with subnet
Aix v3.1 and v3.2

Does your RS6k report anything in the collisions column?


thanks,
stacy

--
Stacy Purcell                            MCD Design Systems Support
Voice: (916)-356-4005                    Intel Corporation
FAX:   (916)-356-6795                    1900 Praire City Road, MS FM3-100
ARPA:  spurcell@mcd.intel.com            Folsom, Ca 95630
UUCP:  {amdcad,decwrl,hplabs,oliveb,pur-ee,qantel}!intelca!mipos3!mcd!spurcell
From: TCOM@SCSMTA.SWITCH.CH (TCOM)
Newsgroups: comp.unix.aix
Subject: Program development under AIX
Date: 12 Oct 92 16:44:08 GMT
Organization: SWISS ACADEMIC NETWORK
X-News-Reader: VMS NEWS 1.22


We are currently developing applications running Interactive Unix
on a PC. We are thinking of moving to a RISC platform for various 
reasons. For our development we are using a variety of tools to 
help us to get on with our product.

I would like to ask you if anyone has some experience with one or 
more of the following tools on the AIX platform::

GNU C-Compiler and Debugger (GDB)
XVT-Version 2/3      (User Interface Library)
XVT-Design           (Design Toolkit)
EMPRESS              (Relational Database)

Should we expect any problems in this migration?

Thanks a lot for your help in advance!

Kind regards,

Beat Erb

from rainy Swi+zerland...
dov
Newsgroups: comp.unix.aix
Subject: groff compiled anyone?
From: dov@menora.weizmann.ac.il (Dov Grobgeld)
Date: Thu, 8 Oct 1992 14:17:45 GMT
Organization: Weizmann Institute of Science, Computation Center.

Has anyone managed to compile groff on AIX, either with the xlC compilor
or with g++?

I couldn't find any information about groff in the FAQ.

--
                                                        ___   ___
                                                      /  o  \   o \
Dov Grobgeld                                         ( o  o  ) o   |
The Weizmann Institute of Science, Israel             \  o  /o  o /
"Where the tree of wisdom carries oranges"              | |   | |
                                                       _| |_ _| |_
From: bill@chaos.cs.umn.edu ( Hari Seldon ... psychohistorian )
Newsgroups: comp.unix.aix
Subject: Re: AIX is buggy - A myth?
Date: 14 Oct 92 21:52:51 GMT
Article-I.D.: chaos.bill.719099571
Organization: University of Minnesota

In <1992Oct14.171849.18462@ncar.ucar.edu> pack@acd.acd.ucar.edu (Daniel Packman) writes:

>  "Despite the success of the RS/6000, some prospects wonder if IBM's
>  UNIX operating system is unstable.  The kernel of truth that often
>  underlies some rumors is that the initial release of AIX had problems.
>  According to Kolbo [Tom Kolbo, president of Emphasys Software], an
>  update two months after the initial release fixed all the known problems,
>  and none have been encountered since."

doggone it that article is not supposed to be published til '97. 
now where's that editor ....

bill pociengel
--
llbi locgeenpi " i'm a little confused right now"
From: bware@slate.mines.colorado.edu (Bob Ware)
Newsgroups: comp.unix.aix
Subject: 'vi hang' fix -> Kinet -> broke
Date: 13 Oct 92 14:44:54 GMT
Organization: Colorado School of Mines

If you run the Ki Research 'lat' software (kinet), then DO NOT install
the 'vi hang' fix (U409508 and prerequisites).

We installed the 'fix' tape here and the 'lat' software stopped working.
Symptoms were:

1. Anyone trying to login from a 'lat' terminal server got the initial
connect message and then the connection hung.  
2. A large number of 'getty' processes were left on the system.

This *MIGHT* be related to the problem I posted yesterday on the "ksh
bug (trap -)'

Fortunately for us, we have an alternate method for people to connect
to our central AIX machine.  Anyone who DEPENDS on KiResearch 'lat'
working might be in deep trouble after installing this fix.

Reporting this to IBM is next on my list of things to do, but If anyone
else has seen this then please let us know.

-- 
Bob Ware, System Administrator 
Computing and Networking, Colorado School of Mines, Golden, Co 80401, USA
(303) 273-3987
bware@mines.colorado.edu
Newsgroups: comp.unix.aix
From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
Subject: Re: C/fortran interface
Organization: /etc/organization
Distribution: na
Date: Thu, 8 Oct 1992 12:17:22 GMT


In article <1260@curly.appmag.com> pa@curly.appmag.com (Pierre Asselin)
writes:
>
> Oh?  In a C routine, how do I write to a file that was OPENed by
> Fortran?

Well, you could always use VMS...

-- 
 \  /   Charles Hannum, mycroft@ai.mit.edu
 /\ \   PGP public key available on request.
Scheme  White heterosexual atheist male (WHAM) pride!
Newsgroups: comp.unix.aix
From: nick@osf.org (Nick Dokos)
Subject: Re: How can I find out which model of RS/6000 am I logged on ??
Organization: Open Software Foundation
Date: 11 Oct 92 22:40:43 GMT

In article <1992Oct10.000659.29236@ibmpa.awdpa.ibm.com> marc@ibmpa.awdpa.ibm.com (Marc Pawliger) writes:

   Here's all the current model numbers as decoded from:

      uname -m | cut -c7-8

That should be

	uname -m | cut -c9-10



--
Nick Dokos	nick@osf.org	
OSF Systems Engineering

Member of the League for Programming Freedom - write to league@prep.ai.mit.edu
Newsgroups: comp.unix.aix
From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
Subject: Re: Help with recursive patching !...
Organization: /etc/organization
Date: Thu, 8 Oct 1992 13:23:57 GMT


In article <8228@lee.SEAS.UCLA.EDU> giao@harpo.seas.ucla.edu (Giao N.
Tran) writes:
>                 
>   Case 2:       diff -c -r [dir1]  [dir2] > patch01 
>                 patch < patch01
>
>            patch stops at the subdirectories and asks for the name of
>            patchfile !.

`patch' strips directory names unless you tell it not to.  Try:

  patch -p0 < patch01

-- 
 \  /   Charles Hannum, mycroft@ai.mit.edu
 /\ \   PGP public key available on request.
Scheme  White heterosexual atheist male (WHAM) pride!
From: TCOM@SCSMTA.SWITCH.CH (TCOM)
Newsgroups: comp.unix.aix
Subject: Development Tools on AIX Platform
Date: 12 Oct 92 16:52:40 GMT
Organization: SWISS ACADEMIC NETWORK
X-News-Reader: VMS NEWS 1.22


We are currently developing applications running Interactive Unix
on a PC. We are thinking of moving to a RISC platform for various 
reasons. For our development we are using a variety of tools to 
help us to get on with our product.

I would like to ask you if anyone has some experience with one or 
more of the following tools on the AIX platform::

GNU C-Compiler and Debugger (GDB)
XVT-Version 2/3      (User Interface Library)
XVT-Design           (Design Toolkit)
EMPRESS              (Relational Database)

Should we expect any problems in this migration?

Thanks a lot for your help in advance!

Kind regards,

Beat Erb

from rainy Swi+zerland...
From: bjim@dat.ruc.dk (Jim Andersen)
Newsgroups: comp.unix.aix
Subject: Re: Stupid Questions:  Sun 8mm dump tape =>AIX 8mm dump tape
Date: 16 Oct 92 15:39:43 GMT
Organization: Roskilde Universitetscenter
X-Xxmessage-Id: <A704AF4670019146@mac-fedtmule.ruc.dk>
X-Xxdate: Fri, 16 Oct 92 17: 41:26 GMT
X-Useragent: Nuntius v1.1.1d10


I am having problems reading an 8mm Exabyte tape on an Aix-machine.
I don't know much about Aix, I normally use a Sun-Sparc.
The tape comes from the Sun. I made 4 individual tarfiles doing:
tar cvfhl cprog -C $HOME/cprogs .
.
.
etc.

This way I have 4 tarfiles, each with the contents of 1 directory.

Then to get them out on the tape I did:
TAPE=/dev/nrst0
tar cv cprogs
.
.
etc.

The files go out on tape all right, and I can extract them nicely on the
Sun.
But when I want to extract them on the Aix, nothing seems to work :(
I have tried a lot of different setups. Using the 'smit' program to change
the block size to everything from 512 to 10240.

It always says: read error (or input error). Most of the times it says
there
are checksum errors. When I use tar`s -i option to override that, (and the
help of `dd` with different settings piping it on to `tar`) I can extract
the
files (but it still says there are read errors). The files have the same
size 
as they have on the Sun, but there is a ? (question-mark) in the first
access-right field (eg. ?rw-rw-r-- ... cprogs....). Then when I extract
cprogs, or do a: tar -tvf cprogs    it only extracts (shows) 3 of the
files
 (but there are 8).

Any help will be greatly appreciated.
Thanks  bjim@dat.ruc.dk
        Jim Andersen, Roskilde University, Denmark
Newsgroups: comp.unix.aix
From: legend@cheshire.oxy.edu (Linda A. Malcor)
Subject: Full pathname for a file (KSH?)
Organization: Occidental College, Los Angeles, CA 90041 USA.
Date: Wed, 14 Oct 1992 01:41:16 GMT

I want to have a pretty printing shell script that will be able to
print out the full pathname for the file being printed (so that I can 
know what the paper refers to).
I know how to do this in the ksh vi edit mode but I need to do it in
a script.
Thanks for the help,
Daniel Malcor
Los Angeles Times - Editorial Library
(213) 237-4590
Newsgroups: comp.unix.aix
From: rdr@attics.rn.com (Dean Riddlebarger)
Subject: A couple of questions....
Organization: Ameritech Information Systems
Distribution: usa
Date: Mon, 12 Oct 92 21:45:10 GMT

It looks like we may get involved with a network design that has an
RS/6000 at its heart, and I've got a couple of questions for all you
net-aware AIX freaks out there:

[1]  Can I get 386/486-based workstations running PC/TCP+'s NFS
(InterDrive) to work with NFS on the AIX box?  (For that matter,
is there an NFS implementation for AIX?)  Are there any gotchas
in the implementation?

[2]  For inbound network-based telnet sessions, what emulation does
AIX tend to prefer?  Is the complete terminfo database available, and
is it reasonably up to date?  (One of the network designers heard
from one of the application vendor reps that AIX is tuned to accept
IBM 3151 emluation above all else, which I find rather hard to
believe on the surface.  But since I don't have an RS/6000 to play
with, I need to double-check.)

Sorry if these queries seem ignorant, but I've seen enough *NIX
flavors to realize that some vendors play fast and loose with what
many of us consider 'standards'.

Thanks for any input!

   
<*>  Dean Riddlebarger                   Once in a while              <*>
<*>  Ameritech Information Systems        You get shown the light,    <*>
<*>  rdr@attics.rn.com                   In the strangest of places   <*>
<*>  317-488-3067 (w)                     If you look at it right.    <*>
From: pcb@gunfight.austin.ibm.com (Peter C. Bahrs)
Newsgroups: comp.unix.aix
Subject: Re: PS/2 AIX article
Date: 7 Oct 92 13:11:25 GMT
Distribution: comp
Organization: *IX Open Systems, IBM Boca Raton

In article <AKNOWLES.92Oct6140246@expert.expert.com> aknowles@expert.expert.com (Anne Knowles) writes:
>I write for RS/Magazine, a magazine for RS/6000 users, and I am doing a story
>on PS/2 AIX. I would like to talk to any PS/2 AIX users out there about
>why they are using the operating system and, for users of both PS/2 AIX and
>AIX/6000, about the differences between the two. Please email me if
>you have any thoughts, comments, etc. Thanks in advance for any help.
>
>Anne Knowles
If you need any technical information, feel free to drop me a line.

Thanks for your time,
Peter

/*--------------- * I X   O p e n   S y s t e m s ---------------------+
x  Peter C. Bahrs                  pcb@eureka.austin.ibm.com           x
x  IBM Boca Raton                  peterb@bcrvmpc1.vnet.ibm.com        x
x  Boca Raton, Florida             peterb at bcrvmpc1                  x
+-------------------- geaux cajuns! ----------------------------------*/
Newsgroups: comp.unix.aix
From: dedourek@jupiter.sun.csd.unb.ca (John DeDourek)
Subject: Re: AIX and 3270
Organization: University of New Brunswick
Date: Wed, 7 Oct 1992 14:40:39 GMT

In article <2030@coyote.UUCP> drake@drake.almaden.ibm.com (Sam Drake) writes:
>
>Yes, /usr/ucb/tn3270 is supplied with AIX.  There's a much better one
>that's X-aware that's available from IBM as a separate (extra charge)
>product.
>

That's interesting.  On my AIX 3.2.2 machine, with all of the AIX bos
stuff installed (bos, bosnet, etc), AND the AIX X11 package installed,
there appears to be a
        /usr/bin/telnet
as a real program, and both
        /usr/ucb/tn3270
        /usr/ucb/tn
are symbolic links to /usr/bin/telnet.  The program is, however, sensitive
to the program name under which it is started, so that, e.g., it looks
to different file names to get key mappings depending on whether it
is started as telnet, tn3270, or tn.  I haven't completely satisfied
myself that I know all the differences.

For what it is worth, from here when tn is fired up from an aixterm
window to our local vm machine you get a 3270 session.

(Don't let the "sun" in the mail address misdirect you; that is currently
my mail machine, but I am talking about AIX.:-)

dedourek@jupiter.sun.csd.unb.ca
Newsgroups: comp.unix.aix
From: joglekar@cactus.org (Vijay Joglekar)
Subject: Problems facing AIX Ver 3.X
Organization: Capital Area Central Texas UNIX Society, Austin, Tx
Date: Fri, 9 Oct 1992 16:08:33 GMT

I know there are lots of problem with AIX 3.X for the IBM RS/6000.
I am collecting a list of top 10 problems facing AIX.
I am also collecting information about what you think would solve the 
problem or help in avoiding the problem.  

Feel free to spit your guts out.

How good is the support for this product? Have you
had any problems with the support org.  I am planning to buy a
model 320 for my business.  

I don't want to make a rash decision...

Thanks for your support.
-- 
These opinions are mine and only mine.  Me employer had nothing to 
do with this posting.
Address: joglekar@cactus.org 
Newsgroups: comp.unix.aix
From: jmmannin@eos.ncsu.edu (JAMES MCCOTTER MANNING)
Subject: Re: New rs/6000 questions on nfs and lpd
Organization: North Carolina State University, Project Eos
Date: Thu, 15 Oct 1992 19:10:33 GMT


I need to know how to play audio CD's through the headphone jack
on an rs/6000.
Got a program I can use, or jsut some info?