HDTenEightyP/NetNews huggingface dataset:
From: jpe@ee.egr.duke.edu (John P. Eisenmenger)
Newsgroups: comp.unix.aix
Subject: Re: New list of PTFs for AIX 3.2 available
Date: 22 Dec 92 15:37:20 GMT

jsalter@ibmpa.awdpa.ibm.com (James Salter) writes:

>Updates to the list will occur approximately once every two weeks.

Thank you!  Thank you!  Thank you!  I'm sure the RS/6000 community will
benefit greatly from this undertaking.

-John

-- 
*************************************************************************
* John P. Eisenmenger			 Phone: (919) 660-5248		*
* Duke University			 FAX:   (919) 660-5293		*
* Department of Electrical Engineering	 Email: jpe@egr.duke.edu (pref)	*
* Box 90291				        jpe@cs.duke.edu		*
* Durham, NC 27708-0291							*
*									*
*  Reports of problems w/EE systems should go to problem@egr.duke.edu	*
*************************************************************************
Newsgroups: comp.unix.aix
From: jfc@athena.mit.edu (John F Carr)
Subject: Re: RS/6000 Integer Multiply Instruction
Organization: Massachusetts Institute of Technology
Date: Sun, 3 Jan 1993 17:25:28 GMT

In article <1i58g8INNk0j@msuinfo.cl.msu.edu> mrr@scss3.cl.msu.edu (Mark Riordan) writes:
>On architectures with which I am familiar, I have been able to
>speed up RIPEM by 50% or more simply by:
>
>  1. Feeding the C source through the compiler to get assembly output, 
>  2. Replacing the lengthy and obtuse code needed to do the multiply 
>     portably with the appropriate instruction for that platform,
>  3. Feeding the resultant assembly source to the assembler.

>I can get xlc to put out an assembly *listing*, but not assembly
>source code that can be fed to a compiler.  I obtained and installed
>GNU C to solve that problem.  But I still can't figure out how to
>access the MQ register.

If you have gcc, try using the built in "long long" type.


This source file:

	long long mul32x32(int x, int y)
	{
	  return (long long)x * (long long)y;
	}
	unsigned long long umul32x32(unsigned int x, unsigned int y)
	{
	  return (unsigned long long)x * (unsigned long long)y;
	}

compiles to this assembly:

.mul32x32:
	mul 3,3,4
	mfmq 4
	br

.umul32x32:
	ai 11,3,0
	ai 7,4,0
	ai 12,11,0
	cal 11,0(0)
	ai 8,7,0
	cal 7,0(0)
	mul 3,12,8
	mfmq 4
	sri 9,12,31
	a 9,9,11
	sri 0,8,31
	a 0,0,7
	muls 0,0,12
	a 3,3,0
	muls 9,9,8
	a 3,3,9
	br

gcc allocates 64 bit integers in consecutive registers, so the function
return value is in r3:r4.

"ai <x>,<y>,0" is the instruction gcc uses for a register-register move.

--
    John Carr (jfc@athena.mit.edu)
From: kraemerf@franvm3.VNET.IBM.COM (Frank Kraemer)
Date: Mon, 28 Dec 92 16:35:37 CET
Newsgroups: comp.unix.aix
Subject: Re. Wallpaper
Reply-To: kraemerf@franvm3.VNET.IBM.COM
Organization: IBM Germany, BO-89 ACIS South
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: Usenet 3.0

.

perlman@SMTC.engr.scarolina.edu writes:

>MS Windows allows you to put a full screen bitmap image
>behind your windows.  They call this wallpaper.  I have
>access to a PC connected scanner and I would like to
>create whatever the aixterm/motif equivalent is to this.

Try the xloadimage program.

Usage: xloadimage [global options] {[image options] image_name ...}
Global options:
  -onroot               - load image onto root window
  -border colorname     - border image with this color
  -display dispname     - destination display
  -fullscreen           - use entire screen for display
  -geometry WxH+X+Y     - destination size and location
  -help                 - print this help message
  -identify             - identify given images
  -list                 - list images in path
  -install              - explicitly install colormap
  -path                 - show image path for loading
  -quiet                - silence is golden
  -slideshow            - show show images in slideshow style
  -supported            - show supported image types
  -verbose              - whistle while you work
  -version              - show version and patchlevel
  -view                 - view image in a window
Image_options:
  -at X,Y               - load image at location
  -background colorname - background color for bitmap images
  -brighten percentage  - specify brightness multiplier
  -center               - center image
  -colors number        - specify maximum number of RGB colors
  -clip X,Y,W,H         - use clipped portion of image
  -dither               - dither color image to bitmap image
  -foreground colorname - foreground color for bitmap images
  -halftone             - halftone a color image to bitmap image
  -name name            - force next argument to be image name
  -xzoom percentage     - zoom the X axis by a percentage
  -yzoom percentage     - zoom the Y axis by a percentage
  -zoom percentage      - zoom the image by a percentage

frank ;-)








.----------------------------------------------------------------------.
| E-Mail: FRANVM3(KRAEMERF)                 - IBM VNET  "Yes, I'm one  |
| ======  IBMMAIL(DEIBM27S)                 - IBM-Mail   of those      |
|         DE.IBMX400.IBMMAIL.KRAEMER.KRAEME - X.400      stupid IBM    |
|         kraemerf@franvm3.vnet.ibm.com     - Internet   field SE's."  |
| Voice : +49-(0)611/776-364                                           |
| Mail  : Abraham-Lincoln Street 26, 6200 Wiesbaden, Germany           |
'----------------------------------------------------------------------'
From: adennie@ibm3.hyperdesk.com (Andy Dennie)
Newsgroups: comp.unix.aix
Subject: problem load()-ing shared object
Date: 21 Dec 92 22:41:04 GMT
Reply-To: andy_d@hyperdesk.com
Followup-To: comp.unix.aix
Organization: HyperDesk Corporation, Westboro, MA

I've been playing around with shared objects on AIX 3.2, and although I
can successfully load and execute a simple function in a shared object,
I'm stumped on the following problem: how do you load a shared object
that contains references to globals defined in the program doing the
loading?  Below is a simple test case that illustrates the problem.

Any help would be greatly appreciated!

foo2.c contains:
----------------------------------------------------------------------
#include <errno.h>
#include <stdio.h>
#include <sys/ldr.h>

char global_string[] = "hello, world\n";  /* here's the global */

main() {
    int (*pfunc)() = load("bar.so", 0, (char*)NULL);

    if (pfunc == 0) {
        printf("load failed, errno=%d\n", errno);
    }
}
----------------------------------------------------------------------


bar2.c contains:
----------------------------------------------------------------------
extern char *global_string;

void bar () {
    printf("%s", global_string);
}
----------------------------------------------------------------------

bar2.exp contains:
------------------
bar
------------------

bar2.imp contains:
------------------
global_string
------------------

% make foo2 bar2.so
        xlc -o foo2 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE foo2.c
        xlc -o bar2.so -bM:SRE -bE:bar2.exp -bI:bar2.imp -e _nostart bar2.c
% foo2
load failed, errno=8


BTW, $LIBPATH contains the current directory, where bar2.so resides.  I
think I'm probably doing something wrong with bar2.imp.  I've tried
adding

#!/pathname/of/foo

to the beginning of it, but that didn't help.  I also tried creating a
foo2.exp file and linking foo2 with the -bE:foo2.exp switch (same
results).  Any ideas? 
Newsgroups: comp.unix.aix
From: drewo@dcatlas.dot.gov (Andrew R. Orndorff)
Subject: AIXTerm and XTerm application defaults
Organization: U.S Dept. of Transportation
Date: Tue, 29 Dec 1992 13:28:24 GMT

     I'm beginning to find this very annoying - I'd like to maintain separate 
copies of the application defaults for aixterm and the MIT xterm in 
/usr/lib/X11/app-defaults, but I'm finding that this is not possible.

     Instead, IBM seems to have aixterm looking at 
/usr/lib/X11/app-defaults/XTerm rather than using AIXTerm as I might expect.

     And it's doubly annoying because in the .Xdefaults, aixterm looks for 
resource entries beginning with 'aixterm' by default.

     Anyway, the reason that would like to have separate AIXTerm and XTerm
defaults files is that the MIT Xterm is receiving more use here and I'd like to
establish a system global default rather than editing individual .Xdefault's or
telling them how to edit the resource entries for xterm (they shouldn't
necessarily have to do that).

     Is there someway to have aixterm use a different application defaults file
located in /usr/lib/X11/app-defaults???
-- 
----------------------------------------------------------------------------
Andrew Orndorff            Internet: dcatlas!zeus.dot.gov!drewo@uunet.uu.net
NHTSA Data Center          UUCP:     ...uunet!dcatlas!zeus.dot.gov!drewo
U.S. DOT
Newsgroups: comp.unix.aix
From: john@ecsvax.uncecs.edu (John Hogan)
Subject: problem with ibm cd rom drive
Keywords: cd rom, rs/6000, scsi
Organization: CSC
Date: Thu, 24 Dec 1992 22:43:51 GMT


I am having trouble reading files in the IBM CDROM reader attached
to my RS/6000 (Model 350, AIX 3.2.2).  I am creating the CD's with
the Topix software from Optical Media International.  The CD Writer is
Philips' CDD 521 attached to an MS-DOS machine.

The CD's I make are just fine if I put them on another PC with almost
any make of CD drive.  But if I put them on the RS/6000's IBM CDROM
drive, the following types of problems occur:

1) any file without a three letter extension appears to be missing;
An "ls" command on the AIX machine reports that all files with no extension 
are missing, e.g.,

./filename   file not found
            
2) There is a small text file that I want to have on each CD;  It's name is
volid.nnn, where n is a number.  ls -l reports that this file is present and
has 7 bytes (which would be correct if it were true), but in fact the file
has no bytes.

3) I also find that CD's that were mastered by Sony Corporation 
and then duplicated have
problems too.  "ls" lists only about half the files in the directory.  The
rest of the files are there:  I know their exact names so I can process them
in various ways, but "ls" doesn't know about them.

All of these disks are supposedly in High Sierra 9660 format, but it seems as
if there is some inode problem.  Does anyone have any experience with this
stuff?  Has anyone found CD making software that produces CD's that AIX
can read without problems?

please respond by e-mail or phone:

John Hogan
   ecsvax!john@uncecs.edu
   (212) 563 3006 ext. 259

   Any help will be greatly appreciated

Xref: sparky comp.unix.aix:12826 comp.unix.questions:14937
From: scotte@cdsac.uucp (L. Scott Emmons)
Newsgroups: comp.unix.aix,comp.unix.questions
Subject: Re: AIX, ksh, and <esc> sequence line editing
Date: 23 Dec 92 17:12:40 GMT
Organization: CableData (U.S. Computer Services), Sacramento, CA
NntpPostingHost: cdsac

In article <1992Dec22.153435.1@uwovax.uwo.ca> brent@uwovax.uwo.ca (Brent Sterner) writes:
>   Hi there.  I'm a beginner at managing an aix system, using ksh as my
>base for learning this platform.  Other systems I have access to (including
>several unix (tcshbased) systems and VMS) provide a mode of line editing
>in which certain escape sequences map into command recall or cursor movement
>within a recalled command line.  ksh doesn't seem to let me do this, from
>what I've located in the manuals.  (Have I missed something?)

The ksh has an undocumented way of binding the arrowkeys to the emacs
line editing commands. In your ".kshrc", add:

alias __A=^P
alias __B=^N
alias __C=^F
alias __D=^B
alias __H=^A

Note that "^P" (et al) must be the actual control sequence...

Also, you MUST have a PTF for this to work in AIX 3.2. The APAR # for
the problem is IX25982, and is available on PTF U406855, which has
probably since been superceeded. Just call IBM defect support and give
them the APAR #; they will send you the latest PTF with that APAR
fixed...

This is one of the areas that I really dislike about the ksh...The
tcsh (and csh) are much better for interactive use. Perhaps someday
tcsh and ksh will merge into a POSIX compliant ksh... Ah well...
 
			   L. Scott Emmons
		      CableData  Research Center
		     csusac.csus.edu!cdsac!scotte
				KC6NFP
Newsgroups: comp.unix.aix
Subject: Re: /usr performance for 220's
From: davis@chem.canterbury.ac.nz (John Davis)
Date: Wed, 23 Dec 1992 02:19:53 GMT
Reply-To: davis@chem.canterbury.ac.nz
Organization: Chem Dept, Uni of Canty, Chch, New Zealand
X-Newsreader: TIN [version 1.1 PL7]

Mike JD Espig (jd@cc.gatech.edu) wrote:
> I just finished installing a new IBM 220 as a /usr client.  The only
> problem is that the performance is terrible!  I remember a thread about
> this recently and was wondering if any solutions were posted.

I've found that the default size transmit and receive queues pretty
much throttles NFS performance (like 50K/s max read rate). Upping them
to their max (default is 30 for both, max is 150 ) helps a lot - doing
that we got more like 500K/s max read speed, but write speed is still
a very low 150K/s. What's odd is that this _wasn't_ happening
under 3.1.6, we had the default size queues and we were getting
MUCH higher throughput ( 800K/s on read, 600K/s on writes).

me thinks something is broken....

--
-----------------------------------------------------------------------------
| o  John Davis         davis@chem.canterbury.ac.nz      phone NZ+3642-421 o |
| o  (Depart)mental Programmer,Chem Dept, Univ of Canterbury, Chch, NZ     o |
| o   "I do not fear computers, I fear the lack of them" - Isaac Asimov    o |
Newsgroups: comp.unix.aix
From: curt@ekhadafi.austin.ibm.com (Curt Finch 903 2F021 curt@aixwiz.austin.ibm.com 512-838-2806)
Subject: Re: RS6000 graphic card, where to buy??
Date: Mon, 28 Dec 1992 21:47:24 GMT
Organization: IBM AWD, Austin

meyer@geomatic.no (Harald Martens Meyer) writes:
>Where, and to what prices can I get a new graphic card to our 
>IBM RS6000/320??

>Currently we have a 'High Performance 3D Color' card. This is not
>adequate for our use. Our application runs better with some kind of
>2D-card.

Try Abstract Technologies.

You can reach them by sending email to info@abstract.com, or try
+1-512-441-4040.  (USA phone number.)

-- 
curt@aixwiz.austin.ibm.com (Curt L. Finch) | AIX NFS/NIS Field Quality 
My views are unrelated to my employer's    |        Austin, TX
 - Begin means testing of Social Security, Medicare and Farm Subsidies now. -
Newsgroups: comp.unix.aix
From: drewo@dcatlas.dot.gov (Andrew R. Orndorff)
Subject: Re: Why does xterm not put in a utmp entry?
Organization: U.S Dept. of Transportation
X-Newsreader: TIN [version 1.1 PL6]
Date: Tue, 22 Dec 1992 12:30:27 GMT

     I too have noticed that using the defines at compile time does not
necessarily enable writing the host entry to utmp.

     But then, I've also noticed that aixterm's started via rsh or rexec
also don't show up when a user does a who, even though the process is
definitely available. So, I'm assuming that the utmpInhibit option is
hiding around somewhere in one of the resource files.

----------------------------------------------------------------------------
Andrew Orndorff            Internet: dcatlas!zeus.dot.gov!drewo@uunet.uu.net
NHTSA Data Center          UUCP:     ...uunet!dcatlas!zeus.dot.gov!drewo
U.S. DOT
400 7th Street, S.W.
Washington, D.C. 20590
-- 
----------------------------------------------------------------------------
Andrew Orndorff            Internet: dcatlas!zeus.dot.gov!drewo@uunet.uu.net
NHTSA Data Center          UUCP:     ...uunet!dcatlas!zeus.dot.gov!drewo
U.S. DOT
Newsgroups: comp.unix.aix
From: u312011@twncu865.ncu.edu.tw
Subject: 1
Organization: Computer Center, NCU, Taiwan, R.O.C.
Date: Sat, 2 Jan 1993 20:00:53 GMT

$sendf :==send/file/vms
$set prompt ="Albert>"
$fingernctu:==send @twnctu02 finger
$finger:==send @twncu865 finger
$pha:== phone answer
$noph:== set broad = nophone
$shu:== Show user/full
$tsai:== send 7812057@twnctu02
$fredrick:== telnet 140.114.77.1
$getfile:== ftp 140.114.77.1
$trans:== ftp NCUCE
$gun:== send /file psa.gun fileserv@gunbrf
$brook:== send /file pdb.req crystpro@nrcvm01
$pd:== send trickle@twnmoe10
$simtel1:== send listserv@rpiecs
$simtel2:== send listserv@ndsuvm1
$simdir:== send listserv@ndsuvm1 /pddir pd:<msdos.*>00-index.txt
$bitftp:== dir *.ftp
$newer:== purge *.ftp
$kifdl:== del *.fdl;*
$block:== sh quo
$time:== sh time
$disk:== sh default
$ed:== edit/fdl
$re:== receive
$dir:==dir/size=used/date=create/pro
$phantom:==set proc/name="**Phantom**"
$sh us/f
$del *.log;*
$set process/name=" Albert"
Newsgroups: comp.unix.aix
From: benson@odi.com (Benson I. Margulies)
Subject: Re: The lack of retension of "ost" tapes on AIX
Reply-To: benson@odi.com (Benson I. Margulies)
Organization: Object Design Inc., Burlington, MA
Date: Tue, 29 Dec 92 01:13:28 GMT

Mr. Shieh is referring to private email I sent him. I wasn't going to
carp in public, but if he's gonna drag my name into it, albeit
mispelled ...

I didn't buy a 525 "on the open market." I didn't want a 525 AT ALL.
I ordered a 7011 expecting another plain vanilla 150MB, and I ordered
it through the same local sales office that I order AIX software from.
I consider it completely out to lunch that IBM would deliver this
puppy to me without full software support without even asking me, and
then reject the DCR. A split into divisions is no excuse whatever for
this sort of thing. Its as bad as the monochrome 220 that showed up.
Guess what? AIX didn't support that either, and I had to pay for
additional VRAM to get it work.

I appreciate the PFT, I've ordered it up. 



-- 
Benson I. Margulies
Newsgroups: comp.unix.aix
From: jmmannin@eos.ncsu.edu (James M Manning)
Subject: help needed!!!
Organization: North Carolina State University, Project Eos
Date: Thu, 31 Dec 1992 18:46:47 GMT

Hello, fellow AIXers!
Well, I once again have a small problem.
I'm running AIX 3.2.2, on an rs6k.
when mail comes in from the outside world, a file gets created in /tmp
(ma* - where the * at least appears to be arbitrary).
also, the person who sent the message gets a bounce-back as follows:

  --- The transcript of the session follows ---
bellmail: cannot append to /usr/spool/mail/root
bellmail: cannot create //dead.letter
bellmail: error closing file: A file descriptor does not refer to an open file.
554 <root@bas1.bas.ncsu.edu>... Unknown mailer error 3

Any ideas?

Any help would be greatly appreciated!

Also:
as bellmail says: all the files in /var/spool/mail have 660 for perms.
they have the correct owners as well.
I THINK the permissions are right on /var and /var/spool.
/var/spool/mail has 777.
Is any of this wrong?
What else could be the problem?

I can manually append to /usr/spool/mail/root
by cat >> /usr/spool/mail/root.
could it be a setuid problem?
Thanks,
James
Newsgroups: comp.unix.aix
From: op@holmes.acc.Virginia.EDU (Olaf  Pors)
Subject: Re: AIX 3.2.3 backup by inode problems
Organization: University of Virginia
Date: Wed, 23 Dec 1992 20:21:19 GMT

In article <1992Dec17.000138.25794@mercury.cair.du.edu> mbrookov@diana.cair.du.edu (Matthew B. Brookover) writes:
>Hi,  I am in rather desperate need of some help with backup by inode in
>AIX 3.2.3.  I just upgraded from AIX 3.1.7, where we were doing a backup by
>inode with the system up and running.  AIX 3.2.3 seems to have a lot of
>problems with this.
>
>I get errors from backup about 1 out of 5 times.
>
>I know that the backup by inode should be ran on an unmounted file system,
>but I need to do backups with the system up and I need to do incremental
>backups.  Under AIX 3.1.7 I never had any problems.
>
>How many people do backup by inode on an active file system? any problems
>under 3.2.3 or 3.1.7?

  We back up about 40 RS6000s (3.1.6 and 3.2.2) daily by
inode.  We have had various problems with rdump and
backup, but they were corrected by new versions of
/etc/rdump, /etc/restbyinode, and /etc/backbyinode.  At
3.1.6, IBM sent new versions out on diskette, which were
easy to install.  At 3.2.2, I received new versions in the
form of a PTF tape, with the usual zillions of PTFs.  I
bypassed the installation of the PTFs to avoid the horror
stories that others have posted, found the binaries on the
tape, and installed them.

  Occasionally, we get what appear to be disk hardware problems
during a backup, usually in the form of "bread" error messages.
These are almost always caused by a busy filesystem; repeating
the backup takes care of the problem.

  If you are having problems unrelated to busy filesystems,
I'd suggest simply installing 3.2.2 versions of
/etc/backbyinode and rdump.  Of course, the risk is yours
- I won't guarantee they'll run properly, but this approach
fixed problems for me back at 3.1.6.

Olaf Pors
Academic Computing Center
University of Virginia
op@Virginia.EDU
Newsgroups: comp.unix.aix
From: shieh@austin.ibm.com ()
Subject: The lack of retension of "ost" tapes on AIX
Originator: shieh@racerx.austin.ibm.com
Date: Mon, 28 Dec 1992 15:25:29 GMT
Organization: IBM Austin


I've gotten several requests from people on the newgroup
to explain why the ability to turn of reten on the ost
tape drive doesn't exist on AIX 3.2.  Specifically, they
are asking why the drives that have the IBM logo on them
get configured as "ost" and don't have the ability to
turn of reten as on the 150 mb 1/4" tape.  I'm with
IBM service - level 3 - change team - bug hunters, etc.....
I'm the SCSI device driver guy, so this is the real poop:

As you know, IBM is trying to be more competitive in the
market place.  In the previous early releases of AIX, some
hardware such as tape drives were gated to the support being
available in the software so that they would be recognized
as IBM drives.  In AIX 3.2, the support for other-scsi-tape
was finally delivered.  Additionally, other IBM divisions started
selling their tape drives in the open market without having to
wait for the software to catch up.  This is why the 525 mb drive
came out with the IBM logo, but no support on AIX.  HOWEVER, this
support has actually come out.  This can be found with PTF U407435.
Some people have mentioned that they are unwilling or uncomfortable
with adding more PTFs to their system.  Well, that's the only way
you're going to get the ability to turn of reten on your tape drive,
sorry.  This leads us to the next question, why isn't the reten
switch available for ost drives in SMIT.  The answer
is that with "ost" you get what you pay for.  This reten ability
is device specific to the drive's microcode.  We can't predict what other
manufacturers have in terms of reten, so we didn't include it.  If we
were to send this "no reten" command to a tape drive that didn't have
the reten bit, would it freak out and reset the bus?  We can't be sure.
That is why this switch only exists for the IBM drives (in SMIT).

And for Benson Margulie, I did submit a DCR to development asking to
put the reten switch for ost drives anyway.  It was rejected as not
practical for the reasons listed above.  

Esa and Benson, I would recommend picking up PTF U407435 to solve your
reten problem.

-- 
The views expressed are my own.  They do not represent IBM.
Johnny Shieh (shieh@racerx)	Worker Bee, AIX Field Quality (level 3)
VNET:     SHIEH at AUSVMQ	Internet: shieh@aixwiz.austin.ibm.com
Phone:(512) 838-3357		tie line 678-3357
Newsgroups: comp.unix.aix