HDTenEightyP/NetNews huggingface dataset:
From: lpickup@xanadu.btv.ibm.com (Lance Pickup)
Newsgroups: comp.unix.aix
Subject: Re: AIX 1.2.1 xinit problem
Keywords: AIX, updates, install, migration
Date: 16 Apr 92 12:29:24 GMT
Reply-To: lpickup@vnet.ibm.com
Distribution: usa
Organization: IBM Technology Products

In article <1992Apr15.191251.16918@ucunix.san.uc.edu>, ciminero@ucunix.san.uc.edu (Ronald N. Ciminero) writes:
|> I have two questions:
|>
|>      1. How do you set the display to ibm8518?
|>        (Do I use the BOOT diskette to change
|>         the type, but how do you force a kernel rebuild?)
|>
|>      2. Is the protocol problem related to the "fstore" response
|>         or was it caused by not setting the display type?
|>

Ron,

  I switched to a 6000 before I got around to installing 1.2.1 on
my PS/2, but with 1.2 the way we set the monitor type was to interrupt
the boot process (where it says something like "Booting default unix.std,
hit any key to interrupt") by hitting a key.  You are then presented
with a menu which includes "Change Monitor Type".  You should select
that choice and set your monitor type correctly.  Then you can select
the "Boot from Hard Disk" option.  One note is that at least with 1.2
I think the default is to come up in Single User mode.  You need to
change that to Multi User mode for normal operation.

  I don't know about your second question.  Try fixing the first one,
and see if it helps.  Good luck!
--
    ...Lance

-----------------------------------------------------------------------
Lance Pickup                VNET/IBM Internet: lpickup@btv
IBM/Vendor Systems                   Internet: lpickup@vnet.ibm.com
Technology Products
Burlington, VT                          Phone: (802) 769-7104 (tie 446)
-----------------------------------------------------------------------
Newsgroups: comp.unix.aix,bit.listserv.aix-l
From: jmd@wrkgrp.COM (Joseph M DeAngelo)
Subject: Make won't invoke SCCS get
Organization: The Workstation Group
Date: Fri, 10 Apr 92 15:54:46 GMT


I use SCCS on my Sun system quite effectively.  When I run 'make'
on my RS6000, however, it fails to notice backdated source and
fails to fetch the updated versions.  Is there some trick I should
be aware of??  I believe we run AIX 3.1 .
Newsgroups: comp.unix.aix
From: paul@ascent (Paul Foley)
Subject: Re: Problem making gcc 2.1
Date: 13 Apr 92 15:28:04
	<MYCROFT.92Apr6080119@hal.gnu.ai.mit.edu>
Organization: Ascent Technology, Inc., Cambridge Massachusetts

>In article <MYCROFT.92Apr6080119@hal.gnu.ai.mit.edu> mycroft@hal.gnu.ai.mit.edu (Charles Hannum) writes:
>   In article <1992Apr06.112646.124881@link-1.ts.bcc.ac.uk>
>   ccaajrl@ucl.ac.uk (Jack Levy) writes:
>   >
>   > My attempt to build gcc 2.1 under AIX 3.1 fails in step 6 of the install
>   > (make LANGUAGE=c).  The end of the output (slightly reformatted for
>   > legibility) is as follows:
>   >
>   >   [...]
>   >
>   >   _muldi3
>   >   Assembler:
>   >   /tmp/ccOkcCzR.s: line 25: Error In Syntax
>   >   1254-004  The error code from the last failed command is 1.
>   >
>   > Can anyone tell me what this means?
>
>   It means you need the assembler fix, ix22829.
>

In the interim don't use "-g" in your make and you can get a working
2.1.  However you /should/ get the patch and then you'll have to
recompile all over again.
--
Paul Foley	UUCP: 		...!uunet!ascent!paul
		HappyNet:	megabozo.personal.10-print-paul-is-cule.20-goto-10




Newsgroups: comp.unix.aix,comp.mail.uucp
From: lpc@dickens.com (Luis P Caamano)
Subject: uucp grades in AIX 3.1.6
Date: Tue, 14 Apr 1992 16:45:34 GMT
Organization: Dickens Data Systems, Inc.
Followup-To: comp.mail.uucp


IBM RS6000 AIX 3.1.6. 

Has somebody noticed that grades are not working the way they are 
supposed to?  I understand that uucico should not transfer a message 
(file, mail, news) if the schedule field is set to something 
like Any0900-1800/Z for an entry in the Systems file and I send 
it with grade 'c' at 2:30pm.  However, "after further reviewwww", 
AIX's uucico just uses that grade to sort them when transfering and
it sends them all on the same connection instead of leaving the ones 
with grades lower than Z.

What's going on here? I hope it's my mistake. Can somebody comment 
on this?

Excerpt from 'man uucp':

-gGrade       Specifies when the files are to be transmitted during a
particular connection.  The Grade variable is a single number (0
to 9) or letter (A to Z, a to z); lower ASCII-sequence characters
cause the files to be transmitted earlier than do higher sequence
characters.  The number  0  is the highest (earliest) grade; z is
the lowest (latest) grade.  The default is N.

example:

Entry in Systems:

remo Any0900-1800/Z ACU 19200 5551211 ogin:-\r\d-ogin: ddssuprs 

#date
Tue Apr 14 11:55:28 EDT 1992
# uucp -r -gc myfile remo!~/
# uucp -r -gN myotherfile remo!~/
# Uutry -r remo
...
...
[ Uutry stuff ]

# ls -l /usr/spool/uucp/remo
total 0
-- 
---------------------------------------------------------------------------
Luis P. Caamano                    |         lpc@dickens.com
Dickens Data Systems, Inc.         |         uunet!ddssuprs!lpc
Norcross, GA                       |         (404) 242-5991
---------------------------------------------------------------------------
If you think you know it all, you'll stop learning. -myself
The more I learn, the more I know I know nothing. -somebody else
From: uschi@milton.u.washington.edu (Cindy Halbert)
Newsgroups: comp.unix.aix
Subject: aix 3.2 hidden feature or what??
Date: 10 Apr 92 20:54:24 GMT
Reply-To: uschi@u.washington.edu
Organization: University of Washington, Seattle


   We've upgraded to AIX 3.2 several weeks ago.  This upgrade
   included X11R4 and Motif 1.1.  (We just found out that the
   version of X we loaded was a pre-Beta piece of software.
   It would have been  nice if IBM had documented this!)

   Recently we received a tape with the Golden version of the
   X development environment.  The docs with this informed us
   that the X dev. env. we installed w/ 3.2 was pre-Beta.
   Seems like IBM shoved the release out the door b/4 it was
   ready AND didn't feel obligated to inform their customers.
   Burned again...

   One last thing...we have noticed whole directories missing
   on our RS/6000 520 for no known reasons.  About a week ago
   one of our development directories, which several of us
   were referencing via Makefiles disappeared.  Today a
   directory containing our X11 libraries (shared) vanished!
   
   Has this been happenin' to anyone else?????



   
   
Organization: Carnegie Mellon, Pittsburgh, PA
Newsgroups: comp.unix.aix
Date: Wed,  8 Apr 1992 00:57:36 -0400 
From: Sean.Levy@cs.cmu.edu
Subject: Kernel reconfigs

I want to configure my AIX 3.1.5 kernel (rs6k) such that SysV shared
memory and IPC primitives are included (if they aren't by default) AND
so that the resource limits on various parameters of these facilities
are large enough for my application (which, under SunOS and Ultrix,
requires upping the default limits). As it is, I can't figure out how
the kernel stuff is laid out so that I can check the current config in
the first place, or even if AIX allows me to do so. I suspect the ODM
database (or whatever it is called) is somehow involved, but do not
have the online info handy, nor the printed docs (at any rate I, for
one, find the so-called hypertext info browser supremely useless).

Could someone send me a pointer to the relevent docs, if there are
such things? Better yet, a brief sketch on what I want to know (but
I'll gladly take ANYTHING).

Cheers,
	-- Sean

--
Sean Levy <snl+@cmu.edu>		   `... from intuition we can pass to
CMU Engineering Design Research Center      analysis, but not from analysis to
ndim Group                                  intuition.' --Henri Bergson
                      <--  Standard Disclaimers Apply  -->
From: bondono@VNET.IBM.COM
Newsgroups: comp.unix.aix
Subject: Re: Epoch and AIX
Date: 8 Apr 92 16:20:29 GMT
X-Unparsable-Date: Wed, 8 Apr 92 09:37:03 FST

>I have managed to build Epoch 4.0 for a number of differernt boxes.
>The version for AIX (3.1) works OK except that the cursor keys
>don't work. I note that there is an include file for AIX keys, but it
>doesn't get included anywhere. Has anyone managed to build
>Epoch with working keys, and if so how?

The file dealing with AIX keys is obsolete and never used.
What you can do is have a look at the EPOCH.FAQ file (in etc dir.)
there is there an entry for dealing with AIX keyboard.
Search also for the article untitled:
>What general facilities does Epoch provide for rebinding function
>keys, and how do I use them?

It's more general (and in fact it's what I use myself).

Philippe

Philippe Bondono                          bondono@vnet.ibm.com
Dept 1032                                 Tel. (+33) 1 60 88 69 41
Lab. IBM de Corbeil-Essonnes              Fax. (+33) 1 60 88 49 20
BP 58, 91105 Corbeil-Essonnes Cedex
France
Newsgroups: comp.unix.aix
From: mqh@theory.TC.Cornell.EDU (Mike Hojnowski)
Subject: Re: AIX/370 performance
Keywords: AIX/370 4381 slow
Organization: Cornell Theory Center
Distribution: na
Date: Mon, 13 Apr 1992 20:16:59 GMT

In article <1992Apr10.84946.8075@ms.uky.edu> mollett@ms.uky.edu (Vic Mollett) writes:
>We've (not UK) have a 4381 running VM with AIX/370 running as a guest operating
>system.  The performance sucks!!  I can easily generate load averages in
>excess of 20 (33.87 is the highest I've seen and that was once it finally
>responded).  It is defined to VM to have 16M of virtual memory (I think there is
>a way to dedicate a chunk of the 4381's RAM to AIX/370, but that has not been
>investigated yet -- anybody know??) and the overall load on VM is relatively
>small (a handful of users and some service machines).  Does anyone know of a
>nice way to make improvements in performance??  Is a 4381 really too small of
>a machine to run AIX/370??  We are running VM/SP with a recent PUT (don't 
>recall exactly what level it is).  Any help would be greatly appreciated!!

Vic,

You should set QUICKDSP in the directory, and give it a large CPU share.
I've never run AIX in a small virtual machine.  You might try bumping the
virtual machine size to something like 32M.  We run all 999MB machines
in our production environment at Cornell.

Mike Hojnowski
AIX Grunt
Cornell University
From: randy@tessa.iaf.uiowa.edu (randy frank)
Newsgroups: comp.unix.aix
Subject: Q: Motif and node locking on AIX RS6000
Date: 15 Apr 92 14:59:48 GMT
Distribution: na
Organization: University of Iowa, Image Analysis Facility

Hello,
	I have some quick questions I hope someone in this group can answer.
Please respond by Email (randy@tessa.iaf.uiowa.edu) as I don't regularly
read this group.

I am porting an X11/Motif application to an RS6000 running AIX with a
version number (for X?) reported as 1.1.7.24.  AIX 3.2 is not currently
installed.  The program was written using OSF Motif 1.1.  I can get it to
compile (after some balking over Visuals) but the following Motif routines
could not be found:
XmTextInsert,XmListDeleteAllItems,XmStringCreateSimple
And the following from Xt:
XtAppSetFallbackResources
And a couple others I cannot remember the names of.

Question: will upgrading to AIX 3.2 include these routines?
a related question: will AIX 3.2 support 24 Bit visuals?

My other question has to do with software node locking.  The package I am
porting has a node locking scheme in it.  The scheme requires a 32 machine
specific number to be obtained from the machine.  On other systems hostid
or uname information is used.  I looked at hostid under AIX and it appears
to be the IP address which can change so I can't use it (anyway hostid
looks like it can be set by the root making it inapropriate for my use).  

Question: what system call (if any) can give me a unique 32 bit identifier
for an individual RS6000 that is fixed in the hardware and cannot be 
user modified?  (source code examples welcome)

Thanks for your time in advance,
rjf.
Randy Frank, Engineer                       |  (319) 335-6712       
University of Iowa, Image Analysis Facility |  73 EMRB              
randy@tessa.iaf.uiowa.edu                   |  Iowa City, IA 52242  
--
rjf.
Randy Frank, Engineer                       |  (319) 335-6712       
University of Iowa, Image Analysis Facility |  73 EMRB              
randy@tessa.iaf.uiowa.edu                   |  Iowa City, IA 52242
From: cxt@ecl.psu.edu
Newsgroups: comp.unix.aix
Subject: Question on floating-point numbers
Date: 7 Apr 92 01:38:24 GMT
Organization: Engineering Computer Lab, Pennsylvania State University


Give me a hand !

Does anybody know the largest floating point number and the smallest
floating-point number and the base of the floating-point number.

The fortran compiler I am using is ver. 2.1.

thanx.
Newsgroups: comp.unix.aix
From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
Subject: Re: WangDAT prevents an IPL
Keywords: WangDAT SCSI 869
Organization: /etc/organization
Distribution: us
Date: Thu, 9 Apr 1992 15:49:09 GMT


In article <32396@darkstar.ucsc.edu> tra@helios.ucsc.edu (Ted Asocks)
writes:
>
> rmt0   Defined   00-05-00-40 2.3 GB 8mm Tape Drive
> wb0    Available 00-05-00-40 Exabyte 2.3 GB 8mm Tape Drive

This looks just a bit odd to me.

Perhaps it's just a SCSI address conflict?
From: gerth@watson.ibm.com (John Gerth)
Newsgroups: comp.unix.aix
Subject: Re: Looking for Mr. System Call...
Date: 14 Apr 92 02:04:19 GMT
Organization: IBM T.J. Watson Research Center
Disclaimer: This posting represents the poster's views, not necessarily those of IBM

In article <1992Apr13.222349.21850@gateway.novell.com> terry@ithaca.npd.Novell.COM (Terry Lambert) writes:
  >
  >	How do I call the blasted thing from userland? 
  >     It doesn't make sense to import an export list into a userland library 
  >     (this would imply that system calls are referenced
  >     dynamically (by string name?!?) within trap.c), so what gives?

I think importing the exports into a userland library is indeed the mechanism.
It doesn't require that the system calls be caught by string name during
execution.  Rather, when an executable is loaded which imports from /unix
then the system loader resolves that symbol to the system call which could
be by index, offset, address or whatnot.  If you haven't installed your
kernel extension yet, then the loader will be unable to resolve the syscall    
and the application will not go into execution.

libc itself imports and re-exports the system calls such that programs
just use an ordinary 'cc' and can remain unaware of whether a function
is an ordinary subroutine or a system call. (One could directly import
the standard calls from /lib/syscalls.exp).  Indeed this is one reason
why AIX 3.2 binaries often fail to work on AIX 3.1 -- if you copy
over libc from AIX 3.2, you'll find it trying to import symbols which
aren't exported by the kernel on earlier systems. 


-- 
John Gerth	 gerth@watson.ibm.com		(914) 784-7639
From: tutui@silk.imel.kyoto-u.ac.jp (Takashi &)
Newsgroups: comp.unix.aix
Subject: Re: How Do You Partition A Disk In AIX?
Date: 15 Apr 92 17:51:25 GMT
Organization: Dept. of Medical Informatics, KYOTO Univ. Hospital, KYOTO, Japan.

> With the LVM you can do this while AIX is running multiuser and while
> the file system is mounted and in use.
I seem to have lost some directories, to use smit to add logical
volume sizes, when heavily multi tasked. Is it completely safe for
critical session, when the same directory that is expanding is
manipulated at once? I didn't retry after tha, I use smit when
safe for the volume. The version I use is AIX 3.1.1.

--
TAKASHI Tsutsui M.D.		tutui@silk.imel.kyoto-u.ac.jp
Dept. of Medical Informatics Hospital of KYOTO Univ.
SAKYO-ku KYOTO JAPAN	Zip 606		Phone +81-75-751-3647
  (automaticaly switched to the fax)	Fax   +81-75-751-3647
Newsgroups: comp.unix.aix
From: fred@mindcraft.com (Fred Zlotnick)
Subject: Re: 'new math' with cc (forget what you were taught once)
Organization: Mindcraft, Inc.
Date: Tue, 14 Apr 1992 16:24:07 GMT

In article <bmhx3t.2f7@wang.com> bpytlik@wang.com (Bogdan Pytlik) writes:
>
>	Did anybody ran into this, new approach while comparing
>	integer like variables.
>
>	Compile this with cc.
>	If compiled with gcc, it works fine.
>	Does anybody has more info on this issue ?
>	As a friend of my said:
>		"AIX? there's no comparison !"
>
>main()
>{
>  unsigned short a = 15;
>  long b = -1;
>
>  if(a>b)
>    printf("a=%d > b=%d\n",a,b);
>  else
>    printf("a=%d <= b=%d\n",a,b);
>  
>}

This is not a bug.  There's a very nice description of this changed behavior
in the Rationale to the C Standard,  What happens is that, when two integral
types of different signedness (?) get compared, some implicit conversions
take place.  Prior to the adoption of the Standard, there was no rule and
there were two different conversions that could occur:

"Unsigned-preserving":
	Convert both values to unsigned types wide enough to hold each
	value.  Do an unsigned comparison using these unsigned values.

"Value-preserving"
	Widen the narrower type to an appropriate _signed_ wider type,
	if the wider type can represent all possible values of the
	original type.  If not, then widen it to an unsigned type.
	Then do the comparison signed or unsigned according to the
	types of the promoted values.

For instance, in the example you gave, unsigned-preserving rules convert
both values to type unsigned long and do an unsigned comparison (in which
b is greater).  Value-preserving rules promote the unsigned short so a
signed long (which can hold all unsigned short values on an RS/6000) and
then do a comparison of (signed) longs, in which a is greater.

The C Standard mandates value-preserving rules, despite the fact that
many compilers (including most Unix system compilers) historically used
unsigned-preserving rules.  Section 3.2.1.1 of the Standard states:

	A char, a short int, or an int bit field, or their signed or
	unsigned varieties, or an object that has enumeration type, may
	be used in an expression wherever int or unsigned int may be
	used.  If an int can represent all values of the original type,
	the value is converted to an int; otherwise it is converted
	to an unsigned int.

By default, AIX 3.x cc uses unsigned-preserving rules.  The xlc version
of the compiler always uses value-preserving rules.
----
Fred Zlotnick			|  POSIX is coming! POSIX is coming!
fred@mindcraft.com		|  		-- Stephen Walli
...!{uupsi,ames}!mindcrf!fred	|
#include <std/disclaimer>	|
Newsgroups: comp.unix.aix
From: hubler@galaxy.lerc.nasa.gov (Dale Hubler)
Subject: Re: How to give root privilege to NFS exported file system, HELP!
Organization: NASA Lewis Research Center
Distribution: usa
Date: Tue, 14 Apr 1992 01:33:31 GMT

In article <1992Apr13.171513.29803@utdallas.edu> karches@utdallas.edu (Tom Karches) writes:
>In article <1rk+Y9B@engin.umich.edu> jzeng@norway.biop.umich.edu (Jim Zeng (313)763-5449) writes:
>>gla is a PS/2 70 running AIX 1.2.1
>>venus is a SPARC II+ running SunOS 4.1.1
>>
>>On gla, I have /u exported. In order to give venus root privilege on /u,
>>I have the following line in /etc/exports
>>
>>/u	-root=venus
>>
>>But this doesn't work! What is the right syntax? Thanks.
>>
>>--Jim
>
>I don't think you can export a filesystem under NFS and give another
>machine root privilege. I've been wrong before, though.
>
>Regards,
>Tom Karches
>-- 
You can export with root privileges, how depends on your setup 
with regards to DNS and NIS.  Try the exports using a fully
qualified name for venus, i.e., venus.your.domain.here.  There
is some procedure to determine which machine has the name resolution
problem, but I forgot it.

Dale

--
Dale A. Hubler  (216) 977-7014   hubler@lerc.nasa.gov
Progress marches on, trampling everything in its path.
From: pack@acd.acd.ucar.edu (Daniel Packman)
Newsgroups: comp.unix.aix
Subject: What is the future of Display Postscript?
Date: 10 Apr 92 14:50:17 GMT
Organization: Ntl Center for Atmospheric Research, Atmospheric Chemistry

The old X11R3 server (in AIX up to 3.1.7) had the DPS extension built in.
The new X11R4 server (in AIX 3.2) as well as the Xstation server does not.
While instructions are included to build it in ourselves for /dev/hft,
I don't see any easy way to add extensions to the Xstation.  Does anyone
know what the future holds for X11 in AIX?  Are they going to include
DPS in the future?  Are they going to put the window manager on the
Xstation itself? It is nice to see SHAPE included now.

number of extensions:    10 for both

       AIX 3.1.7, X11R3                   AIX 3.2, X11R4
    AixDialExtension                    AixDialExtension
    AixLpfkExtension                    AixLpfkExtension
    AixDeviceControlExtensionl          AixDeviceControlExtension
                                        AixTabletExtension
    XAixExtension                       XAixExtension
    xDirectAccessExtension              xDirectAccessExtension
    aixCursorExtension                  aixCursorExtension
    xColormapExtension                  xColormapExtension
    Adobe-DPS-Extension
    DPSExtension
    XTestExtension1                     XTestExtension1
                                        SHAPE

AIX 3.1.7 Xstation, X11R4
number of extensions:    3
    SHAPE
    MIT-SUNDRY-NONSTANDARD
    AGE-DEBUGAIDS-NONSTANDARD

--
Dan Packman     NCAR                             INTERNET: pack@ncar.UCAR.EDU
(303) 497-1427  P.O. Box 3000
                Boulder, CO  80307-3000      DECNET  SPAN: 9583::PACK
From: crow@waterloo.austin.ibm.com (David L. Crow)
Newsgroups: comp.unix.aix
Subject: Re: What do you do with a 1000 groupies?
Keywords: groups, system administration, getgrent
Date: 10 Apr 92 16:43:21 GMT
Organization: IBM AWD Personal Workstations

In article <leonard.702805377@aix3090b.uky.edu> leonard@aix3090b.uky.edu (Leonard Lauria) writes:
>
>In addition to the above questions....has anyone devised a "batch"
>type mode to add users and AIX370?  We can query our SIS system
>to automatically select students that have left, or joined the
>university, and should either have userids deleted or added.  This
>works now with our CMS and Prime systems, and looks possible with
>the RS6000s (though there are warnings about how to do this when        
>running NIS or YPs.  But I don't see an easy way to do it all on
>AIX370, and IBM has been little help so far.

    I don't have an AIX/370 machine to test this on, but I used to 
  add users batch style in AIX/RT.  I believe that the "adduser"
  command is the same between the two AIX's.  If you create a file
  that contains all of the answers to the prompts for the adduser
  command, then you should be able to run "adduser < file" and
  have it automagically add all of your users.  Adding passwords
  might take some more ingenuity.  You could always write a
  script to use sed/awk/perl to modify the /etc/passwd file and
  add in encrypted passwords for the users.  The task doesn't seem
  impossible, but it might take some thinking/planning.
-- 
 ------------------  Friends don't let friends go to aTm.  ------------------
 David L. Crow            (512) 838-1134   IBM Advanced Workstations Division
 Internet: crow@waterloo.austin.ibm.com      AIX Systems Graphics Development
 ------ Any opinions expressed are those of me and not of my employer. ------