HDTenEightyP/NetNews huggingface dataset:
From: arvidson@lagrange (John Arvidson  )
Newsgroups: comp.unix.aix
Subject: increasing priority
Date: 26 Aug 92 15:39:24 GMT
Distribution: usa
Organization: Colorado State University, Fort Collins

Hello, I am looking for suggestions for a way that I can increase the
job priority on a couple of accounts.  For instance, every time they
login, all their processes run with a renice value of -5.  
Thanks, 
John Arvidson
arvidson@Math.ColoState.Edu
From: bis@ifi.uio.no (Bjorn Ivar Stark)
Newsgroups: comp.unix.aix
Subject: Re: Displaying occurances of NFS write errors
Date: 31 Aug 92 19:09:25 GMT
Organization: Dept. of Informatics, University of Oslo, Norway
Originator: bis@maud.ifi.uio.no

In article <87468@netnews.upenn.edu> ahsu@akira.anatomy.upenn.edu (Kaneda-Akira's Defender) writes:

   I'm running an RS/6000 320 and a diskless 220, both under 3.2.1 and xdm.
   My problem is that I seem to be getting frequent NFS write errors, but
   I never see them unless I shut down the X server and xdm. Is there a way
   that I can get these and other console messages to be written to a file
   of something?  I've tried using the "swcons" command but I don't seem to

Have you tried:

Put this one in the inittabentry:
cons:2:respawn:/bin/cons # Put consolemessages in the file
/tmp/console.msg

Let /bin/cons be a file that contains:
swcons /tmp/console.msg
/usr/bin/tail -f /tmp/console.msg > /dev/hft0 # This is the
console
--
------Vennlig hilsen-----
Oystein Fosli, B240
Norsk Hydro a.s           Ph.: (472) 739660       
Postboks 200		  Fax: (472) 739555
1321 STABEKK	     internet: bis@ifi.uio.no
Norway
Newsgroups: comp.unix.aix
From: syscrc@gsusgi1.gsu.edu (Randy Carpenter)
Subject: Our srcmstr is all screwed up!
Organization: Georgia State University
Date: Tue, 25 Aug 1992 18:25:54 GMT

Somehow, on our Modle 320 running AIX 3.2, we have two srcmstr processes
running.  There used to be only one.  Also, the "lssrc -a" command times out
and gives the following message:

   0513-056 Timeout waiting for command response.

We can't figure it out what's the problem?
(thanks ahead of time.)

-- 
===========================================================================
Randy Carpenter            rcarpent@gsu.edu    $ mkdir matter; cat > matter
Georgia State University   (404) 651-2648      ksh: matter: cannot create  
Wells Computer Center                          $
From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
Newsgroups: comp.unix.aix
Subject: Re: More on aXe
Keywords: aXe
Date: 2 Sep 92 21:57:48 GMT
Organization: /etc/organization


In article <1992Sep1.195127.1040@tamsun.tamu.edu> jhardin@data.tamu.edu
(James Hardin) writes:
>
> The program has a segmentation fault in the 
>
>   CopyShowMenuChildren()

I found this went away after I did a `make install'.  In particular,
after the application defaults file is installed.

I haven't taken the time to track it down more carefully.
-- 
 \   Charles Hannum, mycroft@ai.mit.edu
 /\  White heterosexual atheist male (WHAM) pride!
Newsgroups: comp.unix.aix
From: drewo@dcatlas.dot.gov (Andrew R. Orndorff)
Subject: Re: Getting sendmail to be sane? Can't be done.
Reply-To: Andrew Orndorff <dcatlas!drewo@uunet.uu.net>
 Organization: NHTSA Data Center, Washington, D.C., USA
Organization: U.S Dept. of Transportation
Date: Thu, 27 Aug 1992 12:22:22 GMT

chip@tct.com (Chip Salzenberg) writes:

>According to david@penndrls.upenn.edu:
>>What magic incantation do I need to put into the AIX 3.2 sendmail.cf file
>>that comes with 3.2 in order to get it to accept mail as an MX host?

>Try this one:

>   "rm -f /usr/lib/sendmail"

>Then install Smail 3.1.26.  You won't be sorry.

	Actually, anything _other_ than the default sendmail that comes
with AIX works. We use sendmail v5.65c (w or w/o IDA) and have had no
problems.

	Smail sounds interesting...I'll have to try that one some time.

	Andrew Orndorff

	NHTSA Data Center

	Internet:	dcatlas!zeus.dot.gov!drewo@uunetuu.net
	UUCP:		...uunet!dcatlas!drewo
From: valdis@vttcf.cc.vt.edu (Valdis Kletnieks)
Newsgroups: comp.unix.aix
Subject: Re: rootvg restores by inode
Date: 4 Sep 92 00:14:30 GMT
Organization: Virginia Tech, Blacksburg, VA

In article <1992Sep3.181334.13202@murdoch.acc.Virginia.EDU> op@holmes.acc.Virginia.EDU (Olaf  Pors) writes:
>  The requirement referred to is to be able to completely,
>accurately, and relatively automatically restore the root
>volume group from daily backup tapes.  In other words, at
>our site, if a rootvg disk dies, we need to be able to
>restore rootvg to exactly the state it was in when the
>previous day's backups were done.  On a standard system,
>this is close to impossible, since it means doing a mksysb
>every day.

What I've always done is the following:

(a) take a full backup once a week - in this case, a 'mksysb' flavor.
(b) The backup script touches /fulldump
(c) The incremental does a 'find / -newer /fulldump -print | backup -i'

In case of failure, you just spin the mksysb - this gets you something
back that will at least *BOOT*.  Then you just /etc/restore the incremental
over the now-semi-functional system.

I don't see that backup-by-inode is a big issue - the functionality
is there via other means.  

				Valdis Kletnieks
				Computer Systems Engineer
				Virginia Tech
From: MWE@IB.RL.AC.UK (Mike Ellwood)
Newsgroups: comp.unix.aix
Subject: stopping busy network adapters   (3.1.5)
Date: 27 Aug 92 20:52:22 GMT

If one needs to change the parameters of a network adapter/interface,
with smit/chdev, it usually responds that it's busy so you can't.

I know you can use the -P option to commit to the database, then
shutdown and re-ipl, but is there ANY way one can make such
devices unbusy?        (clean and painless way I mean).

Thankyou.
(mwe@ib.ac.rl.uk)

(I know in the case of an Ethernet adapter, one can also 'remove' it
 and start from scratch, which is also a bit drastic, though at
 least saves an IPL; I'm not sure if this works with x.25s.)
Newsgroups: comp.unix.aix
From: lwvanels@athena.mit.edu (Lucien W. Van Elsen)
Subject: Re: Using getgroupattr()
Reply-To: lwvanels@MIT.EDU
Organization: Massachusetts Institute of Technology
Date: Tue, 25 Aug 1992 16:48:27 GMT

mskucher@auk.UWaterloo.ca (Murray S. Kucherawy [MFCF]) writes:
> The man page for getgroupattr() says that calling the routine and
> requesting the group's users will return "a list of NULL terminated
> character strings. The list itself is NULL terminated."  
> I'd have thought that invoking this:

>	   char *ulist[n];
...
>	   status = getgroupattr(groupname,S_USERS,ulist,SEC_LIST);

>   ...would give me an array of strings, the last of which is empty.
>   ulist[0] contains the correct first entry, but the rest of it is trash.


The man page can be somewhat confusing- a "list of null terminated strings"
is not the same as an array of character pointers.  Instead, it means a
single chunk of char's containing something like:

	user1\0user2\0user3\0\0

(where user1, user2, and user3 are the usernames of the members of groupname).

Calling it with

	char *ulist;

	status = getgroupattr(groupname,S_USERS,&ulist,SEC_LIST);

should result in ulist being a pointer to this type of structure, which you
can then parse yourself into the individual username strings.

		-Lucien

----------------------------------------------------------------------------
Lucien Van Elsen               | lwvanels@mit.edu
			       | The secret to a long life is knowing when
			       | it's time to go..
Newsgroups: comp.unix.aix
From: lwvanels@athena.mit.edu (Lucien W. Van Elsen)
Subject: Re: Enabling/disabling root logins on a terminal?
Reply-To: lwvanels@MIT.EDU
Organization: Massachusetts Institute of Technology
Date: Thu, 27 Aug 1992 02:42:51 GMT

frank@poiro.enet.dec.com (Frank O'Neill) writes:
> The getttyent()
> routine gets a tty description file entry which has a format
> described in ttyent.h and includes the TTY_ON and TTY_SECURE
> bits.  What file does getttyent() access to find this information?

At the root of things, the value of the ty_status information is all stored
in the ODM, in the CuAt class- if you do an 

  odmget -q "name = tty0 and attribute = login" CuAt

you'll get the entry whose value will be disable, enable,share, or delay,
which correspond to 0, TTY_ON, ENABLE_SHARE, and ENABLE_DELAY.  However,
this isn't quite the whole story; it is acutally the entry in /etc/inittab
that determines if getty (and what sort) is run on a particular tty.
Unless you really know what you're doing, though, you shouldn't edit these
files by hand; instead, use chdev (or the smit interface to it) to change
the status of the tty.

> It seems that when I use SMIT to add a TTY, it creates the file
> /dev/tty*, and I can set the Enable LOGIN bit for that TTY using
> the Change/Show characteristics of a TTY.  But how do you enable
> or disable the SECURE bit?

I've never figured out how to get it to report the TTY_SECURE bit as set,
even when I could log via that port as root.  This is really no shortcoming,
though, since it appears that no AIX programs look at the value of that bit.
This is because there is a more general mechanism for controlling which tty's
any user (not just root) is allowed to log in on, which is given in "ttys"
entry in the stanza for the user in /etc/security/user.  These values can be
changed via smit (the "Valid TTYs" attribute in the Change User Attributes
menu) or directly via a command like "chuser ttys="!/dev/tty1" root.

		-Lucien

----------------------------------------------------------------------------
Lucien Van Elsen               | lwvanels@mit.edu
			       | The secret to a long life is knowing when
			       | it's time to go..
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.unix.aix
Subject: Re: tape blocksizes (8mm - Exabyte)
Date: 3 Sep 92 02:20:54 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <1992Sep2.161801.29010@awdprime.austin.ibm.com> woan@exeter.austin.ibm.com (Ronald S. Woan) writes:

| I may be horribly wrong, but as I understand it, each pass of the head
| on the 8mm lays down 1K, so use of blocksizes other than multiples of

8 Kbytes per 'track', not 1.

| 1K leads to waste of tape. The RISC System/6000 can only boot tapes of
| blocksize 512, so that's what mksysb uses...

Yes, and that wastes half the tape, but is seldom an issue for booting.

In general, any integral multiple of 1Kbyte will not waste tape on
the Exabyte.  In the event that you frequently underrun the drive,
it is best to do multiples of 8K, although one would hope that
you aren't going to do that often.
--
Let no one tell me that silence gives consent,  |   Dave Olson
because whoever is silent dissents.             |   Silicon Graphics, Inc.
    Maria Isabel Barreno                        |   olson@sgi.com
Xref: sparky comp.unix.aix:9071 bit.listserv.aix-l:1388
From: manmetha@gauss.rutgers.edu (Rajesh Malhotra)
Newsgroups: comp.unix.aix,bit.listserv.aix-l
Subject: LVM Question. How to get Vg_Id from VG Name ?
Keywords: lvm_queryvg, lvm_varyoffvg, lvm_varyonvg
Date: 25 Aug 92 21:11:24 GMT
Followup-To: comp.unix.aix
Organization: Rutgers Univ., New Brunswick, N.J.


Fellow AIXers,

	How do I get information on a volume group using the
volume group name? All the routines viz. lvm_queryvg, lvm_varyoffvg,
lvm_varyonvg need the Vg_id. What routine would give me a Vg_id,
given a Volume Group Name?

	I am sure there has to be a way to query the Vg_id using the
volume group name (guess lvaryoffvg uses it).

	I would appreciate any responses/ideas on this matter.


Raj.
-- 
===============================================================================
  __  __     .
 /   __/    /                               Raj Malhotra.
/   ( /_   /                                voice : (908)613 4313. 
        __/                                 email : manmetha@gauss.rutgers.edu

===============================================================================
Newsgroups: comp.unix.aix
From: konopik@konopik.austin.ibm.com (Brad Konopik)
Subject: Re: Can't send a break signal to a serial line defined as /dev/lp1
Organization: IBM AIX Porting Center, Austin
Date: Mon, 31 Aug 92 04:36:06 GMT

In article <1196@curly.appmag.com> pa@curly.appmag.com (Pierre Asselin) writes:
>In <Brt9G2.IAD@watserv1.waterloo.edu>
>hesse@watserv1.waterloo.edu (BJ Cameron - DCS) writes:
>
>>if(ioctl(ttyf, TCSBRK, 0) < 0 )
>>           perror("Can't send BREAK: ");
>
>>If the backend file is /dev/lp1 the error is returned.  If the backend file
>>is /dev/tty0 a BREAK signal is transmitted.
>
>Is there such a thing as a BREAK on a parallel interface?
>
>On a *serial* line a BREAK is a logical 0 held for a longer time than
>normal (500ms?).  It is *not* a character with all the bits zero
>because the stop bit (at logical 1) doesn't show up in time and the
>receiver raises a framing error.

Close, Pierre.  A break condition exists when the received data input
is held in the spacing (logic 0) state for longer than a full word
transmission time (start bit + data bits + parity bit + stop bits).
The receiver experiences the break until the line returns to the 
marking (logic 1) state, at which time the receiver begins looking
for another start bit.

>
>>Any ideas?
>
>Yep.  Read the fine print of the printer documentation.  What you are
>trying to do may be possible only if you use the serial interface.
>But the parallel interface is ususally faster.

When using a serial printer, you are normally talking to the serial printer
line discipline...not the posix line discipline.  The TCSBRK and TCSBREAK
support are in the posix line discipline.  You're outta luck.

>-- 
>
>--Pierre Asselin, Magnetoresistive Head Engineering, Applied Magnetics.
>  pa@appmag.com        the usual disclaimers apply.

-- 
  tcpnet: konopik@konopik.austin.ibm.com  |  Brad Konopik
 ibmvnet: KONOPIK at AUSTIN               |  IBM AIX Porting Center, Austin
internet: konopik.austin.ibm.com!konopik@ibmpa.awdpa.ibm.com
   uunet: ..!uunet!ibmsupt!ibmpa!konopik.austin.ibm.com!konopik
From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
Newsgroups: comp.unix.aix
Subject: Re: Running aXe 3.0.1 yields "can't find libXaw.a[shr.o]"
Date: 29 Aug 92 02:11:51 GMT
Organization: /etc/organization


In article <01050810.c739be@mbeckman.mbeckman.com>
mbeckman@mbeckman.com writes:
>
>    Could not load program axe
>    Member shr.o not found or file not an archive
>    Could not load library libXaw.a[shr.o]
>    Error was: No such file or directory
>
> I copied libXaw.a to /usr/lib, but got the same result.

This is probably the loader generating an incorrect error message.  Use
`dump -H libXaw.a' to see which libraries libXaw.a depends on, and make
sure they are present.

-- 
 \   Charles Hannum, mycroft@ai.mit.edu
 /\  White heterosexual atheist male (WHAM) pride!
Newsgroups: comp.unix.aix
From: schuetz@iacrs2.unibe.ch (Martin Schuetz)
Subject: Re: xdump
Reply-To: schuetz@iacrs2.unibe.ch
Organization: University of Berne, Switzerland
Date: Tue, 1 Sep 1992 13:41:17 GMT

In article <1992Aug31.161654.25487@syscon.rn.com>, teresa@syscon.rn.com (Teresa Selling) writes:
|> 
|> I would like to compile the xdump program, but find that I am missing
|> all header files in /usr/include/X11/Xw.  I guess I am missing a partiular
|> library it needs.  Anyone know where I can get the missing files needed
|> to compile Xdump?

You have to install the Xw widget set, which is not included in the AIX 3.2
Xamples. You can get the Xw widget set from iacrs2.unibe.ch or from another
anonymous ftp site. 

-- 
Martin Schuetz                              Phone: +41 31 65 42 40
Institute for Physical Chemistry            FAX:   +41 31 65 44 99
University of Berne
Switzerland                                 schuetz@iacrs2.unibe.ch
Newsgroups: comp.unix.aix
From: pvanheus@frodo.cs.uct.ac.za (P A van Heusden)
Subject: ioctl conversion : Sys V to PS/2 AIX v1.1
Organization: Computer Science Department, University of Cape Town
Date: Wed, 2 Sep 1992 12:18:32 GMT

I am working under PS/2 AIX v1.1 and want to convert a UNIX System V
program. The Sys V program includes an ioctl call to the TIOCGWINSZ ioctl,
which does not exits under AIX. This ioctl returns the size of the terminal
window, I believe, and I want to convert it to AIX. What should I use?

Peter

--
*******************************************************************************
Peter van Heusden              "Thou shalt not kill
CS2 lab, UCT, Cape Town               Kill kill kill!"
pvanheus@frodo.cs.uct.ac.za                    Ministry   
Newsgroups: comp.unix.aix
From: eliot@stalfos.engr.washington.edu (eliot)
Subject: Re: HELP: how to kill a stopped 'tar' job?
Keywords: 8mm Tape RS/6000
Organization: clearer than blir
Date: Tue, 1 Sep 1992 20:07:21 GMT


If you are on 3.2.0, it is a bug in the tape device driver.  Call software
support and get a fix.  I did, and everything's fine now.


eliot
Newsgroups: comp.unix.aix
From: lpc@dickens.com (Luis P Caamano)
Subject: Re: High-speed modem at built-in serial port (RS/6000)
Date: Wed, 2 Sep 1992 14:02:05 GMT
Organization: Dickens Data Systems, Inc.

In article <1255@curly.appmag.com> pa@curly.appmag.com (Pierre Asselin) writes:
>In <BtpJy7.92L@well.sf.ca.us> nlane@well.sf.ca.us (Nathan D. Lane) writes:
>
>>On AIX 3.2, the hardware flow control settings DO NOT hold between reboots.
>
>I pulled a couple of incantations from a smit.script and inserted a
>paragraph near the end of my /etc/rc (just before the
>/etc/mfg/rc.preload stuff).  The "-a runmode" strings are shown here as
>tab-continued lines, but of course they are single long lines in /etc/rc.
>
[ ... ]
>
>Works for me.
>CAVEAT:  I'm at 3.1.6.

Yes, it works for you but it would be kind of complicated to do that
for multiple modems :-)

These are the two programs we use to handle rts/cts and to read the
line discipline stack when the line is set with no clocal (which is
the case for modem lines).  We use them this way in /etc/rc:

/etc/rc:
...
echo "Adding RTS to modem ttys"
/home/lpc/c/setrts /dev/tty0	# multitech
/home/lpc/c/setrts /dev/tty1	# telebit 
/home/lpc/c/setrts /dev/tty10	# fax
...


sttyget is the same as "stty get < /dev/ttyx" but it opens
the device with NDELAY.  


------8<------------8<--------------8<----------------
/* setrts.c */
#include <fcntl.h>
#include <termios.h>
#include <sys/ioctl.h>

main(int argc,char **argv)
{
    int fd;
    struct termios t;
    
    if ((fd = open(argv[1],O_NDELAY|O_RDWR)) == -1) {
	printf("%s: can't open %s\n",argv[0],argv[1]);
	printf("usage: %s device\n",argv[0]);
	exit(1);
    }

    ioctl(fd,TXADDCD,"rts");

    exit 0;
}
------8<------------8<--------------8<----------------



------8<------------8<--------------8<----------------
/* sttyget.c */
#include <fcntl.h>
#include <termios.h>
#include <sys/ioctl.h>

main(int argc,char **argv)
{
int fd, i;
struct termios t;
union txname txbuf;

    if ((fd = open(argv[1],O_NDELAY|O_RDWR)) == -1) {
	printf("%s: can't open %s\n",argv[0],argv[1]);
	printf("usage: %s device\n",argv[0]);
	exit(1);
    }

    i=0;
    while(1) {
	txbuf.tx_which=i;
	ioctl(fd,TXGETCD,&txbuf);
	printf("%s ",txbuf.tx_name);

	if(txbuf.tx_which == 0) {
	    printf("\n");
	    break;
	}
	i++;
    } 

    close(fd);
    exit(0);
}
------8<------------8<--------------8<----------------
-- 
---------------------------------------------------------------------------
Luis P. Caamano                    |         lpc@dickens.com
Dickens Data Systems, Inc.         |         uunet!dickens.com!lpc
Atlanta, GA                        |         (404) 475-8860
---------------------------------------------------------------------------
If I think I know it all, I'll stop learning. -myself
The more I learn, the more I know I know nothing. -somebody else
Newsgroups: comp.unix.aix
From: jack@freezer.cns.udel.edu (Jack Seltzer)
Subject: Re: Xload Equivalent
Reply-To: jack@freezer.cns.udel.edu
Organization: University of Delaware
Date: Mon, 31 Aug 1992 22:09:04 GMT

In article 21671@cdsac.uucp, scotte@cdsac.uucp (L. Scott Emmons) writes:
>In article <BtnF2n.IoF@news.udel.edu> jack@freezer.cns.udel.edu writes:
>>On our Sun SPARCservers we have the program: xload which presents
>>a load average graphical display.  I have been trying to find 
>>an equivalent program on the 6000.  Anyone know of one?
>
>Yes! You should find "xload" in "/usr/lpp/X11/Xamples/bin" if it has
>already been built. The sources are in
>"/usr/lpp/X11/Xamples/clients/xload", if it has not already been
>built. It works great, and seems to be about the only way to get a
>'real' load average in AIX, which otherwise insists that a load
>average of 1 is a maximum. Grrrr.
>
> 
>			   L. Scott Emmons
>		      CableData  Research Center
>		     csusac.csus.edu!cdsac!scotte


Unfortunately, it seems that we do not have X11R5 on our system, but X11R4 as
xload is not present either built or the source.  I have also tried to use
Sun's perfmeter, but while I can get loads on our other Suns, it's no go
when I try to get output from our 6000.  I get no errors, no output, no
nothin!  (This is via the command issued on a local machine: 

         permeter <RS/6000 machine name> -t load 

Anyway,  what interested me most in this response was that you are getting
a load average max of 1!   I've been running "sysline" on our 6000 and getting 
output:

            sysline -dehD

            Mon Aug 31 6:04 mozart run:0 12u 1r

Twelve users and 1 executable processes.  And I get 1 executable process,
no matter how many are actually there.

                 

        

     

Newsgroups: comp.unix.aix
From: malte@techfak.uni-bielefeld.de (Malte Uhl)
Subject: Re: TeX3.14
Date: Tue, 1 Sep 92 18:31:53 GMT
Organization: Universitaet Bielefeld, Technische Fakultaet.

In article <1992Sep1.145014.636@constellation.ecn.uoknor.edu>, stsiegem@uokmax.ecn.uoknor.edu (Stephan Siegemund-Broka) writes:
|> 
|> Does anyone know the magic that I need to do to be able to compile
|> TeX3.14 on AIX 3.2? I got what was supposed to be a port from someone
|> and it can't find the alloca routine when loading pltotf. I have xlc
|> 1.02.0000.0009. Thanks in advance. My access to news is currently dead
|> so please respone via mail.
|> 
|> ed baron (baron@phyast.nhn.uoknor.edu)

I don't read this news group too often, but it always the same with .alloc
missing. Why worry about, when the answer is just a couple of hours with
InfoExplorer away:
	Whenever alloca is needed, add as the *first* line in that file
	#pragma alloca
	and that's it.

Concerning TeX: I installed it last week 'out of the box'.
In fact, I used gcc.

Malte
Newsgroups: comp.unix.aix