[comp.unix.questions] INFO-UNIX Digest V6#013

postmaster@nssdca.gsfc.nasa.gov (11/14/88)

 *** VMS error in delivery mail, error message follows *** 

EXOS Mail server: delivery error: %MAIL-E-OPENOUT, error opening NCF_VAXPERTS:[PIPES]MAIL$00040091BD056C29.MAI; as output
EXOS Mail server: delivery error: -RMS-E-CRE, ACP file create failed_VAXPERTS:[PIPES]MAIL$00040091BD056C29.MAI; as output
EXOS Mail server: delivery error: -SYSTEM-F-EXDISKQUOTA, disk quota exceededS:[PIPES]MAIL$00040091BD056C29.MAI; as output
EXOS Mail server: delivery error: 
%MAIL-E-OPENOUT, error opening NCF_VAXPERTS:[PIPES]MAIL$00040091BD056C29.MAI; as output
-RMS-E-CRE, ACP file create failed
-SYSTEM-F-EXDISKQUOTA, disk quota exceeded

 *** Original message follows *** 

From : INFO-UNIX@BRL.MIL
Subject:     INFO-UNIX Digest  V6#013

Return-path: <info-unix-request@sem.brl.mil>
Received: from SEM.BRL.MIL by nssdca.GSFC.NASA.GOV
          id 20C054DA002 ; Sun, 13 Nov 88 19:42:05 EST
Received:  from SEM.BRL.MIL by SEM.brl.MIL id ab09382; 13 Nov 88 3:14 EST
Received:  from sem.brl.mil by SEM.BRL.MIL id aa09340; 13 Nov 88 2:46 EST
Date:        Sun, 13 Nov 88 02:45:55 EST
From:        The Moderator (Mike Muuss) <Info-Unix-Request@BRL.MIL>
To:          INFO-UNIX@BRL.MIL
Reply-To:    INFO-UNIX@BRL.MIL
Message-ID:   <8811130246.aa09340@SEM.BRL.MIL>

INFO-UNIX Digest          Sun, 13 Nov 1988              V6#013

Today's Topics:
                      Re: proc table in /dev/kmem
                          alphacm phone lines
                           Make mysteries...
                     Re: PC wordprocessors on *NIX
              Internetworking book (was: Anonymous ftp's)
                          Re: usage accounting
                      UNiSYS 6000/50 and C-Kermit
                            Re: Login shell?
-----------------------------------------------------------------

From: "George W. Leach" <reggie@pdn.uucp>
Subject: Re: proc table in /dev/kmem
Date: 11 Nov 88 15:01:38 GMT
To:       info-unix@sem.brl.mil

In article <4161@encore.UUCP> bzs@encore.com (Barry Shein) writes:

>>I have a situation where given a process id, I need to find the child(ren)
>>of that pid.  

>Why are you so shy about groveling a ps listing? You don't have to use
>awk if you're worried about all the overhead/memory, you can use
>popen() and just get it yourself with a little string manipulation.

>Do it like the pros, cheat!


     Thats right!  We all do this.  In fact, take a look at "The UNIX
Programming Environment", Brian Kernighan and Rob Pike, Prentice-Hall,
on pages 190-192 at the zap program.  Copy and modify it to to your needs.



-- 
George W. Leach					Paradyne Corporation
 ..!uunet!pdn!reggie				Mail stop LF-207
Phone: (813) 530-2376				P.O. Box 2826
						Largo, FL  USA  34649-2826

-----------------------------

From: Sanford 'Sandy' Zelkovitz <sandy@turnkey.tcc.com>
Subject: alphacm phone lines
Date: 11 Nov 88 23:37:57 GMT
Keywords: xbbs phone_lines
Posted: Fri Nov 11 15:37:57 1988
To:       info-unix@sem.brl.mil

The phone lines to alphacm were temporarily down from Nov 7 to Nov 11 if
you were trying to connect to my system. I put them out of order since I
had to go to the hospital for major back surgery. The system is now back
online.

Sanford <sandy> Zelkovitz    XBBS    714-898-8634

-----------------------------

From: Alan Takahashi <takahash@bnrmtv.uucp>
Subject: Make mysteries...
Date: 8 Nov 88 01:33:46 GMT
To:       info-unix@sem.brl.mil

A "make" question:

  I have a directory setup where my *.c files are in the src/ directory,
  and my *.h files are in the incl/ directory.  I have a third directory
  called objects/ which will contain the *.o files and already contains
  the make file.  The directory setup looks like this:

                                $HOME
                              /   /  \
                         /----   /   ----\
                       src/    incl/    objects/

  Since my objects and my source files are in two different directories,
  my dependencies would have to travel across directories.  If they were
  all in the same directory, then I would have something like this:

  srcfile = file1.o file2.o file3.o

  all : $(srcfile)
	ln ...

  $(srcfile) : incl1.h incl2.h incl3.h
	cc ...

Now for the question:
  How can I setup this make file so that file1.o,file2.o,file3.o can be in
  the objects/ directory while the source files file1.c,file2.c,file3.c
  remain in the src/ directory??  I still want to use the "srcfile=..."
  format.

  (The issue is how to keep the dependencies between file1.o and file1.c
   intact.  I've tried various incarnations of the $$@ variable, but to
   no avail).

Thanks for any help.

 ------------------------------------------------------------------------------
Alan Takahashi                            !     hplabs   amdahl
Bell-Northern Research                    !          \   / 
Mountain View, CA                         !   .....!{-----}!bnrmtv!takahashi
                                          !          /   \
"When you need to knock on wood is when   !    3comvax   ames
  you realize the world's composed of     !-----------------------------------
  aluminum and vinyl." -- Flugg's Law     ! DISCLAIMER: It's all an illusion.
 ------------------------------------------------------------------------------

-----------------------------

From: Robert Claeson <prc@erbe.se>
Subject: Re: PC wordprocessors on *NIX
Date: 11 Nov 88 13:43:12 GMT
To:       info-unix@sem.brl.mil

In article <48200014@hcx1>, ldh@hcx1.SSD.HARRIS.COM writes:
> 
> I have heard that Microsoft Word, Wordperfect and possibly others have *nix
> versions of their products working ... I assume on '386 based platforms.  Has
> anyone here had any experience with these products? ... and are they really
> limited in platforms? ... Thanks

Microsoft Word is (as far as I know) only available for Microsoft's "own"
UNIX and deratives, Xenix/286 and Xenix/386.

Word Perfect is available for a number of different machines, among
them Xenix/386 (not /286), NCR Tower, AT&T 3b2, and Encore Multimax.
Please correct me if I'm wrong.
-- 
Robert Claeson
EUnet: rclaeson@erbe.se   Smart ARPAnet: rclaeson@erbe.se
Dumb ARPAnet: rclaeson%erbe.se@uunet.uu.net

-----------------------------

From: "Frederick M. Avolio" <avolio@decuac.dec.com>
Subject: Internetworking book (was: Anonymous ftp's)
Date: 12 Nov 88 22:08:57 GMT
Sender: daemon@decuac.dec.com
To:       info-unix@sem.brl.mil

In article <8866@smoke.BRL.MIL> gwyn@brl.arpa (Doug Gwyn (VLD/VMB) <gwyn>) writes:
>In article <380001@hpcea.CE.HP.COM> twakeman@hpcea.CE.HP.COM (Teriann Wakeman) writes:
>>>Doug Comer has a good book out on the details of internetworking.
>>Ah... Got any more info about this book? ie. name, publishing date/house?
>>availablity?
>
>"Internetworking with TCP/IP: principles, protocols, and architecture"
>by Douglas Comer (1988, Prentice-Hall, ISBN 0-13-470154-2).  I found
>my copy at a Computer Literacy bookstore in San Jose.

Jim Joyce's UNIX Bookstore in SF has it and will mail it.  I don't work for
him... that's just from whom I got my book.

fred

-----------------------------

From: Malaclypse the Elder <dwc@homxc.uucp>
Subject: Re: usage accounting
Date: 12 Nov 88 18:50:53 GMT
To:       info-unix@sem.brl.mil

In article <1156@orion.cf.uci.edu>, fredv@orion.cf.uci.edu (Fred Velijanian) writes:
> 
> I'd like to charge users less who run their processes at a lower priority 
> (i.e. nice'd). Unfortunately I cannot find any applicable fields
> stored in the system accounting file. (structure defined in <sys/acct.h>)
> Is it possible to tag each process such that this information can be 
> recorded in the accounting file? Running a special program which sets the 
> "nice" priority and then execs the user's command is also acceptable, however
> all processes created by the user's command need to be considered as well.
> 
if it is the cpu that you are charging for (since you are looking at
'nice') one thing that you might want to do is charge according to
'cpu intensiveness'.  that is, irrespective of the nice value, if a
program uses the cpu at 'a reasonable rate', then charge them less.
how do you tell the rate of cpu use for a process?  look at the actual
cpu time versus the elapsed time.

of course, you will have to normalize with respect to system load.
send me mail if you want to discuss this more.

danny chen
att!homxc!dwc

-----------------------------

From: Bo Kullmar <bk@kullmar.se>
Subject: UNiSYS 6000/50 and C-Kermit
Date: 12 Nov 88 10:38:58 GMT
Keywords: UNiSYS, 6000/50, C-Kermit, kermit, Convergent
To:       info-unix@sem.brl.mil

I was asked to install C-Kermit on a new UNiSYS 6000/50 computer. It is a
386 machine from Convergent. It is running System V/386.

It was version 4E(067) of C-Kermit that I did compile and install. I have
also version 4E(070) of C-Kermit but this version was not available on the
site.

The first question was if the machine was running System V.2 or V.3. It
had the new uucp, but uname did not give any information about this. It
only gave some kind of UNiSYS version number.

I did compile C-Kermit with "make att3bx" to get a System V.2 version with
the new uucp and with "make sys5r3" to get a System V.3 version. Both worked
but the V.2 compile did produce some warnings about invalid pointers. This
and the fact that UNiSYS when releasing the 6000/50 in Sweden this spring
did announce that it was running System V.3. The fact that I did not find
uugetty on the system pointed to System V.2 but other things pointed to
System V.3.

I did manage to install a modem on ECOM3 (/dev/tty003) and was able to dial
in to the system and run a test with both of the versions of C-Kermit. It
worked well.

After changing /etc/inittab and telinit q I did try to dial out from the
same line but this did not work. It just hang when I did "set line
/dev/tty003" in C-Kermit.

The questions are therefor:

Have anyone installed C-Kermit on UNiSYS 6000/50?

Is it running System V.2 or System V.3?

Has anyone solved the problem with dialing out from the C-Kermit on UNiSYS
6000/50?

---
Bo Kullmar, Helsingoersg. 38, S-164 42  KISTA, Sweden, Phone +46 8 7511518
UUCP:		{uunet,mcvax,munnari,cernvax,diku,inria,prlb2,tut,ukc,unido}
		!enea!kullmar!bk
Internet:	bk@kullmar.se

-----------------------------

From: Thomas Hameenaho <thomas@uplog.se>
Subject: Re: Login shell?
Date: 11 Nov 88 08:02:13 GMT
To:       info-unix@sem.brl.mil

In article <Oct.23.09.32.38.1988.11774@ron.rutgers.edu> ron@ron.rutgers.edu (Ron Natalie) writes:
>How about just comparing $0.


Script started on Fri Nov 11 08:59:45 1988
41@uplog> echo $0
No file for $0.
42@uplog> sh
$ echo $0
sh

-- 
Real life:	Thomas Hameenaho		Email:	thomas@uplog.{se,uucp}
Snail mail:	TeleLOGIC Uppsala AB		Phone:	+46 18 189406
		Box 1218			Fax:	+46 18 132039
		S - 751 42 Uppsala, Sweden

-----------------------------


End of INFO-UNIX Digest
***********************