From: NUNEZ@esevvx.cica.es (REGI's)
Newsgroups: comp.unix.questions
Subject: (none)
Date: 15 Oct 92 12:42:34 GMT

>X-Envelope-to: INFO-UNIX@BRL.mil
>X-VMS-To: IN::"INFO-UNIX@BRL.MIL"

1
16-OCT-1992 00:08:47.44
   1 00:00:00.00
17-OCT-1992 00:08:47.44
info-unix-request@sem.brl.mil
rafapa@obelix.cica.es

Received: from SEM.BRL.MIL by ESEVVX.CICA.ES ; 13-OCT-1992 00:08:20.33
Received: from SEM.BRL.MIL by SEM.BRL.MIL id ab16616; 12 Oct 92 15:25 EDT
Received: from sem.brl.mil by SEM.BRL.MIL id aa16596; 12 Oct 92 15:15 EDT
Date:       Mon, 12 Oct 92 15:15:36 EST
From:       The Moderator (Mike Muuss) <Info-Unix-Request@BRL.MIL>
To:         INFO-UNIX@BRL.MIL
Reply-To:   INFO-UNIX@BRL.MIL
Subject:    INFO-UNIX Digest  V16#036

INFO-UNIX Digest          Mon, 12 Oct 1992              V16#036

Today's Topics:
                         Re: unbuffered stdout
                               Unix Talk
                           Re: IS UNIX DEAD?
                  Re: can a files protection be set...
                      winter 93 usenix info wanted
                            Re: 'w' command
                    Re: Which group is for SCO 3.2.4
                             Re: A QUESTION
             bind() fails 2nd time prog run, how to fix it?
                    Re: copying a file without login
                tset when term=vt300? (rephrased repost)
              Re: tset when term=vt300? (rephrased repost)
                          UnixWare from Univel
                         /dev/audio permissions
                      Re: What does 'daemon' mean?
                            Removing inodes?
             Any Good Book(s) about [Advance] "C" on Unix ?
           Re: Any Good Book(s) about [Advance] "C" on Unix ?
                         Re: Sockets and stuff
                   Re: What does cc -D option means ?
       Re: time output... how to capture when running batch jobs?
-----------------------------------------------------------------

From: Walter Mecky <walter@mecky.rent-a-guru.de>
Subject: Re: unbuffered stdout
Date: 10 Oct 92 13:24:46 GMT
To:       info-unix@sem.brl.mil

In article <32944@adm.brl.mil> hushing@gdwest.gd.com (Sumner Hushing) writes:
< How does one go about suppressing buffering on stdout?  
< 
< We're redirecting stdout to a FIFO, which sends all output to a log file, 
< so we can capture all messages for later review.  Although messages to
< stdout which end with \n seem to be flushed, that's only true if stdout
< is the terminal.  Once it's redirected to the FIFO, everything gets 
< buffered.  That messes up our time-tagging of the messages.

Correct. This is how stdio is supposed to work.

< We've tried a bunch of different system calls, ioctl specifications, 
< 
<   fcntl
<   ioctl

The abopve are real system calls and *cannot* affect the stdio
routines.  To show this they are place in section 2 of the manual (e.m.
fcntl(2)).

<   setbuf
<   setvbuf
<   setlinebuf

These ones are the right place and should affect the buffering. Because
of this they are placed in section 3 of the manual (e.m. setbuf(3)).
You should include fflush(3), which flushs the buffer.

< and nothing advertised seems to work.  

You have to call the setbuf() routine before the first usage of the file
pointer.  Did you?  Then you should know that these routines can only
affect *your* program and not a program startet by exec(2) or system(3).

Hope that helps.

-- 
   __o          Walter Mecky
 _ \<,_         walter@rent-a-guru.de   or   ...uunet!unido!mikros!walter
(_)/ (_)        Phone: +49 6152 40813

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

From: Sophia Theophylactos <stheophy@condor.mcs.kent.edu>
Subject: Unix Talk
Date: 10 Oct 92 18:31:31 GMT
To:       info-unix@sem.brl.mil


Whenever I try to delete a character while in "talk," control-h's appear
on the screen.  Is there a way for me to set my delete key so that it
ACTUALLY deletes characters while in "talk?"  Is it something I should
put in my .login or .cshrc?

-S

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

From: Ray Jones <rayj@celestial.com>
Subject: Re: IS UNIX DEAD?
Date: 10 Oct 92 19:01:25 GMT
To:       info-unix@sem.brl.mil

In <1992Oct8.124810.16164@maths.tcd.ie> robb@maths.tcd.ie (Robert Bashford) writes:

>dansmith@Autodesk.COM (Daniel Smith) writes:
>>act together.  I'm going to slant my future learning efforts towards NT.

>>     Daniel Smith, Autodesk, Sausalito, California, (415) 332-2344 x 2580

>pardon me for asking but WTF is NT?

Windows NT is Microsoft's next cure for all the world's ills.
From what I understand, it is UNIX made brain dead so that it is single
user.  However they use the Mach kernel so they won't have to pay the
AT&T lic. fee.
-- 
Onager Systems			 Ray A. Jones
18710 NE 59th Ct.		UUCP .....uunet!camco!onager!ray
# 2053       			...ray@onager.Celestial.COM
Redmond, WA 98052               206-885-3568 

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

From: crchakford@miavx1.acs.muohio.edu
Subject: Re: can a files protection be set...
Date: 10 Oct 92 20:00:47 GMT
To:       info-unix@sem.brl.mil

In article <32992@adm.brl.mil>,
 SCCS6075@bureau.ucc.ie (David O'Byrne) writes:
> well the subject line says it all, I have an important document, that needs
> modifying, but I also want to protect it against inadvertent deletion...
> 
> thanks
>

        I believe that if you putyour filein a directory with permissions
744 (drwxr--r--), and set the file permissions to 766 (-rwxrw-rw-) you 
would have what you wanted.  So your final structure would look like
this...

$ ls -l <yourdirectory>

 ...
drwxr--r--      <foo>
 ...

$ cd foo

$ ls -l

 ...
-rwxrw-rw-      <bar>
 ...


That should work.  But then, I'm always open to flames.

> ....david
> 
> ----------------------------------------
> David O'Byrne : sccs6075@iruccvax.ucc.ie
> ----------------------------------------

                        Craig.

CRCHAKFORD@MIAVX1.ACS.MUOHIO.EDU

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

From: anna  besprozannaya <besp@ellis.uchicago.edu>
Subject: winter 93 usenix info wanted
Date: 10 Oct 92 22:24:02 GMT
To:       info-unix@sem.brl.mil

I've scanned newsgroups and FAQ's, and I can't find any announcements.
If you have any info, please mail it to me.

Thank you.

 --------------------------------------------------------------------------------
Anna Pluzhnikov		besp@ellis.uchicago.edu		312/955-5784

"Perfection is achieved, not when there is nothing left to add,
but when there is nothing left to take away" - Antoine de St. Exupery

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

From: Peter Van Epp <vanepp@fraser.sfu.ca>
Subject: Re: 'w' command
Date: 11 Oct 92 19:11:55 GMT
To:       info-unix@sem.brl.mil

jal41820@uxa.cso.uiuc.edu (Smiley) writes:

>asriniva@vela.acs.oakland.edu (MONK) writes:
>:)The 'w' or the what command seem to intrude the privacy, IS there any way
>:)to mask what the user is doing, to a foreign user executing the w command.
>:)The only way i thought so was by Starting a script, which creates a virtual
>:)shell.

>I usually run a few programs in the background, all of which spend about
>a minute sleeping each loop. A "w" on myself shows only that I'm sleeping.

>The problem is, "ps aux | grep <user>" will reveal all processes anyway.
>-- 
>        Josh Laff              #     #      
>email to: smiley@uiuc.edu     _       _     Hello! I am a signature virus!  
>      (217) 384-6249         |#\_____/#|    Join the fun and copy mo*#(*&^!>.
>                              \#######/     

At least on the machines around here (i.e. SGI and Sun) so will a w -d
(which isn't documented) ...

Peter Van Epp / Operations and Technical Support 
Simon Fraser University, Burnaby, B.C. Canada

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

From: Cynthia Newton <newton@wilbur.psu.edu>
Subject: Re: 'w' command
Date: 11 Oct 92 21:37:02 GMT
To:       info-unix@sem.brl.mil

In article <vanepp.718830715@sfu.ca> vanepp@fraser.sfu.ca (Peter Van Epp) writes:
>jal41820@uxa.cso.uiuc.edu (Smiley) writes:
>
>>asriniva@vela.acs.oakland.edu (MONK) writes:
>>:)The 'w' or the what command seem to intrude the privacy, IS there any way
>>:)to mask what the user is doing, to a foreign user executing the w command.
>>:)The only way i thought so was by Starting a script, which creates a virtual
>>:)shell.
>
>>I usually run a few programs in the background, all of which spend about
>>a minute sleeping each loop. A "w" on myself shows only that I'm sleeping.
>
>>The problem is, "ps aux | grep <user>" will reveal all processes anyway.
>>-- 
>>        Josh Laff              #     #      
>>email to: smiley@uiuc.edu     _       _     Hello! I am a signature virus!  
>>      (217) 384-6249         |#\_____/#|    Join the fun and copy mo*#(*&^!>.
>>                              \#######/     
>
>At least on the machines around here (i.e. SGI and Sun) so will a w -d
>(which isn't documented) ...
>
>Peter Van Epp / Operations and Technical Support 
>Simon Fraser University, Burnaby, B.C. Canada

Try a soft link.....

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

From: Tom Christiansen <tchrist@convex.com>
Subject: Re: 'w' command
Date: 12 Oct 92 01:57:57 GMT
Originator: tchrist@pixel.convex.com
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.
To:       info-unix@sem.brl.mil

From the keyboard of newton@wilbur.psu.edu (Cynthia Newton):
:Try a soft link.....

Nope, 'ps c' will find it.

This "hide from the next guy" stuff is weird.  Why would you do that?

If you want a fascist system, you can do that by removing or limiting
all commands that check on other folks and then protect all kinds of
system files.

But why bother?

--tom
-- 
    Tom Christiansen      tchrist@convex.com      convex!tchrist


Yes, but every time I try to see things your way, I get a headache.

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

From: Dave Schaumann <dave@cs.arizona.edu>
Subject: Re: 'w' command
Date: 12 Oct 92 06:52:12 GMT
To:       info-unix@sem.brl.mil

In article <1992Oct11.073555.19892@vela.acs.oakland.edu>, asriniva@vela (MONK) writes:
>The 'w' or the what command seem to intrude the privacy,

So you think `w' "intrudes the privacy", huh?  Ever try "ps -au"?

>IS there any way
>to mask what the user is doing, to a foreign user executing the w command.
>The only way i thought so was by Starting a script, which creates a virtual
>shell.

As you've already realized, it's fairly easy to hide from `w'.  I
don't think there's any way to hide from "ps -au", though.

If you really want private computing resources, go get yourself a
single-user box for your desk.

-- 
You unlock this door with the key of imagination.  Beyond it is another
dimension: a dimension of sound, a dimension of sight, a dimension of mind.
You're moving into a land of both shadow and substance, of things and ideas.
You've just crossed over into... the Twilight Zone.

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

From: Jean-Pierre Radley <jpr@jpradley.jpr.com>
Subject: Re: Which group is for SCO 3.2.4
Date: 11 Oct 92 19:20:05 GMT
To:       info-unix@sem.brl.mil

In article <$davee.2.0@sasb.byu.edu> $davee@sasb.byu.edu (Dave Edmunds - MIS Hardware) writes:
>I am having a rather obnoxious problem with an SCO Unix box, unfortunately I 
>did not see a group that was specifically for SCO, except the Xenix and I 
>don't think that is right.

Try biz.sco.general.
If your site doesn't get it, then get on the mailing list to which it is
mirrored:
Send this message to scogen-request@xenitec.on.ca
Add: davee@sasb.byu.edu
-- 
Jean-Pierre Radley   Unix in NYC   jpr@jpr.com   jpradley!jpr   CIS: 72160,1341

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

From: Bill Campbell <bill@celestial.com>
Subject: Re: A QUESTION
Date: 11 Oct 92 20:44:50 GMT
To:       info-unix@sem.brl.mil

In <1992Oct09.004500.14733@trebor.uucp> root@trebor.uucp (Bob Stockler) writes:

:csc5840@hertz.njit.edu (Sekhar Chitti) writes:

:>I have a question on using 'sed' and 'awk' to edit a text file.
:>I have a text file of nearly 500 lines and having 6 fields.
:>Now that I wanna delete the last 5 fields of each line and 
:>keep only the first one. What is the easiest way I can do this? 

:<infile awk '{ print $1 }' >outfile

Or: cut -f1 infile > outfile

Bill
-- 
INTERNET:  bill@Celestial.COM   Bill Campbell; Celestial Software
UUCP:   ...!thebes!camco!bill   6641 East Mercer Way
             uunet!camco!bill   Mercer Island, WA 98040; (206) 947-5591
SPEED COSTS MONEY -- HOW FAST DO YOU WANT TO GO?

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

From: "Gary G. Gu" <ggu@chpc.org>
Subject: bind() fails 2nd time prog run, how to fix it?
Date: 11 Oct 92 21:34:50 GMT
To:       info-unix@sem.brl.mil

I hope this is the appropriate place to ask this question.

I'm writing elementry network programs using bsd sockets. My program uses
a client-server model. The server does a bind(), and accept()s a connection.
Everything runs ok the first time. The second time I run the program,
bind() fails. Socket was in use. I wait for a couple of minutes, the program
runs fine. I guess the OS is holding on to the sockets for a while and then
frees it.

How can I fix this problem? Can I free the socket before I exit the program?
Is there a UNIX command/program that allows me to examine the status with
regard to sockets? 

Thank you for your help. If this is not the place for this question, please
tell me where I should post this.

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

From: "Stephen P. Potter" <spp@crane.cis.ufl.edu>
Subject: Re: copying a file without login
Date: 11 Oct 92 21:46:17 GMT
To:       info-unix@sem.brl.mil

In article <1992Oct11.055250.29460@cam.compserv.utas.edu.au> mkwan@esk.compserv.utas.edu.au (Michael C. KWAN) writes:
>	Can I copy a file from another account (under same host) without using
>ftp, rlogin (rhosts) ?  If I know the password of that account.
>
>	Thanks in advance.
>
>
>						Michael 
Well, if the file protections are set correctly, you can simply copy it.  Or, you
can use 'su' to become that user, copy it into another directory, 'chown' it to
you.  Or, just change the file permissions after you 'su' and then copy it.

Of course, the obvious question is why are you so worried about copying it
without logging into the account, especially if you know the password (I'm
assuming you legally obtained the password)

Steve
Unix Consultant


-- 
    cccc    i   ssss   University of Florida  Computer and Information Sciences
  c           s        Unix Consulting Staff   (904) 392-1183  E309A 
 c        i   ssss     Email: spp@ufl.edu, spp@cis.ufl.edu, 
c        i       s      u4930any@elm.circa.ufl.edu, PRISONER@MAPLE.circa.ufl.edu cccc   i    ssss       PRISONER@ufcc.ufl.edu, Bitnet: PRISONER@ufcc

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

From: Russell Mosemann <mosemann@unlinfo.unl.edu>
Subject: tset when term=vt300? (rephrased repost)
Keywords: tset unknown default vt100
Date: 11 Oct 92 23:12:04 GMT
To:       info-unix@sem.brl.mil


   I think I was misleading about what I was looking for in my original
post, so I will try to explain it better in this repost.  All of the
connections made to our Sun SPARC 2 will be through the network, except
for the console.  I would like tset to quietly go about its business and
set the terminals when they are something like a sun, vt100, vt200,
xterms, hp19, etc.  That part works fine.
   However, when the type is not known (i.e. not in termcap/info), I'd
like tset to offer to set the terminal to a vt100 for the user, not to
unknown.
   A thought that just came to me that might work is to let tset go
ahead and ask its question.  If the user just pressed <return>, the
terminal type would be unknown and then I could set it to vt100.  How
about something like this?

set noglob
eval `tset -sQ`
set glob
set noglob
eval `tset -sQ -m 'unknown:vt100'`
set glob

--
Russell
mosemann@unl.edu

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

From: Leif Jensen <lhjensen@fish.princeton.edu>
Subject: Re: tset when term=vt300? (rephrased repost)
Keywords: tset unknown default vt100 noglob
Date: 12 Oct 92 03:42:08 GMT
Originator: news@nimaster
To:       info-unix@sem.brl.mil

In article <1992Oct11.231204.4157@unlinfo.unl.edu> mosemann@unl.edu writes:
>set noglob
>eval `tset -sQ`
>set glob

This has come up before.  In csh, the statement "set noglob" actually
creates a shell variable named "noglob".  Before the shell expands *
and ?, etc., it checks whether "noglob" is in the variable table.  If
it is then it leaves * and company alone, otherwise it performs
globbing as usual.  Therefore the command that undoes "set noglob" is
"unset noglob", which removes the variable "noglob" from the shell's
table.  The command "set glob" will create a new variable named "glob",
which has absolutly no effect on anything relevant, including
globbing.  If you put the quoted lines in your .login, you will be
frustrated when things like "ls *.c" fail to work as expected.

Presumably our experiences with English and certain vi conventions make
this difficult to remember, but it is not really very tricky.

--
Leif Jensen
lhjensen@phoenix.princeton.edu

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

From: "C. S. Chang" <cschang@hamlet.umd.edu>
Subject: UnixWare from Univel
Date: 12 Oct 92 02:03:51 GMT
To:       info-unix@sem.brl.mil


Please provide me some information on UnixWare from Univel.  Such as
how it work, it's requirement and how to get a beta testing system.

Thanks in advance.

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

From: kbornhor@vangogh.helios.nd.edu
Subject: /dev/audio permissions
Date: 12 Oct 92 02:31:08 GMT
To:       info-unix@sem.brl.mil

This post is concerning the problem of turning off the audio device to outside
use.

Someone posted his answer which consisted of adding a line to the file
/etc/fbtab that would allow only the person logged on console the permissions
to use the /dev/audio device.

I tried using this approach while running version 4.2 but could not get it to
work.

It came up with the error Permission Denied -- evidently it gave permission to
no one...not even the user on console.

Has anyone else encountered the same problems, or does anyone recognize what
might be the problem?

Thanks.

Keith Bornhorst ( kbornhor@bach.helios.nd.edu )

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

From: Dave Ritchie <der@hpuerca.atl.hp.com>
Subject: Re: What does 'daemon' mean?
Date: 12 Oct 92 02:59:01 GMT
To:       info-unix@sem.brl.mil


  From the dictionary, 'daemon' is an intermediary between God and man. 
The monitor being 'God' in this case.

-- Dave Ritchie
der@hpuerca.atl.hp.com

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

From: Paul Richards <spedpr@thor.cf.ac.uk>
Subject: Removing inodes?
Date: 12 Oct 92 04:12:07 GMT
X-Mailer: Cardiff Computing Maths PP Mail Open News Gateway
To:       info-unix@sem.brl.mil

I've got a corrupted directory entry in lost+found that I can't get rid
of. Using fsck doesn't work, it goes through the motions of fixing the
filesystem but when I reboot fsck aborts and requests that I run it
manually. This always detects the same corrupted directory entry.

Is there some way of deleting this file by fixing the inode that fsck
isn't capable of?
-- 
  Paul Richards at Cardiff university, UK.

  spedpr@uk.ac.cf.thor	Internet: spedpr%thor.cf.ac.uk@nsfnet-relay.ac.uk
  UUCP:     spedpr@cf-thor.UUCP or ...!uunet!mcsun!uknet!cf!thor!spedpr
+++

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

From: Nasir Ahmed Noor <umnoor@ccu.umanitoba.ca>
Subject: Any Good Book(s) about [Advance] "C" on Unix ?
Date: 12 Oct 92 07:05:23 GMT
To:       info-unix@sem.brl.mil


Could someone please list a [few] good book[s] which discuss C programming
IN DEPTH on Unix system. I have just recently started to experiment with
C, but I am otherwise quite comfortable with programming. All introductory
or 'make yourself master' books on C really start from telling me what a 
computer and a byte is. Result is that about half of the book is of no use
and in this process I just cant learn. Also none of the books tell me the
advanced level C stuff and interfacing with operating system [Unix]
etc etc. What is your pick for a book in this "range"?

thanks.

--nasir
umnoor@ccu.umanitoba.ca

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

From: Samuel Ko <kko@fraser.sfu.ca>
Subject: Re: Any Good Book(s) about [Advance] "C" on Unix ?
Date: 12 Oct 92 07:35:53 GMT
To:       info-unix@sem.brl.mil

umnoor@ccu.umanitoba.ca (Nasir Ahmed Noor) writes:

>Could someone please list a [few] good book[s] which discuss C programming
>IN DEPTH on Unix system. I have just recently started to experiment with
>C, but I am otherwise quite comfortable with programming. All introductory
>or 'make yourself master' books on C really start from telling me what a 
>computer and a byte is. Result is that about half of the book is of no use
>and in this process I just cant learn. Also none of the books tell me the
>advanced level C stuff and interfacing with operating system [Unix]
>etc etc. What is your pick for a book in this "range"?

>thanks.

Some suggestions from my list of recommended Unix books ...

2. Title: Advanced Programming in The Unix Environment
   Author: Richard Stevens
   Publisher: Addison-Wesley
   Edition: 1992
   ISBN: 0-201-56317-7
   Comment: **** Highly Recommended ****
            A going-to-be classic on how programs work under Unix ...

3. Title: Advanced Unix Programming
   Author: Marc Rochkind
   Publisher: Prentice Hall
   Edition: 1985
   ISBN: 0-13-011818-4
   Comment: A superb book covering all system calls in detail ...

4. Title: The C Programming Language
   Authors: Brian Kernighan and Dennis Ritchie 
   Publisher: Prentice Hall
   Edition: 2nd ed. 1988
   ISBN: 0-13-110362-8
   Comment: This book is 200% a MUST for any C programmers ...

5. Title: C - A Reference Manual
   Authors: Samuel Harbison and Guy Steel
   Publisher: Prentice Hall
   Edition: 3rd ed. 1991
   ISBN: 0-13-110933-2
   Comment: An authoritative reference to C programming language ...
            A good companion to Kernighan and Ritchie ...

7. Title: Practical C Programming
   Author: Steve Oualline
   Publisher: O'Reilly
   Edition: 1991
   ISBN: 0-937175-65-X
   Comment: Yet another good book on C ...

8. Title: Using C on the Unix System
   Author: David Curry
   Publisher: O'Reilly
   Edition: 1990
   ISBN: 0-937175-23-4
   Comment: This book is directed to (would-be) system programmers ...

9. Title: The Berkeley Unix Environment
   Author: Nigel Horspool
   Publisher: Prentice Hall
   Edition: 2nd ed. 1992
   ISBN: 0-13-089368-4
   Comment: An excellent book on C programming for Berkeley Unix system ...

10. Title: The Waite Group's C++ Programming
    Author: John Berry
    Publisher: Sams
    Edition: 1992
    ISBN: 0-672-22771-1
    Comment: A fine book on C++ (for Unix and Dos) ...

11. Title: Managing Projects with make
    Authors: Steve Talbott and Andrew Oram
    Publisher: O'Reilly
    Edition: 2nd ed. 1991
    ISBN: 0-937175-90-0
    Comment: An unique text on using make and handling Makefile ...


--
S a m u e l
Quasi-expert on computer books/documentations ...
Quasi-expert on PC sharewares/freewares ...
Quasi-expert on everything ... :)

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

From: Josef Moellers <mollers.pad@sni.de>
Subject: Re: Sockets and stuff
Date: 12 Oct 92 07:42:00 GMT
To:       info-unix@sem.brl.mil

In <Bvu2Cp.69J@cs.dal.ca> digdon@ug.cs.dal.ca (Mike Digdon) writes:


>I am working on a project that involves a daemon, and obviously, I will be
>using sockets for all of the communications. After looking thru various FAQ's
>and stuff, I just can't seem to find what I am looking for..

>I know how to set up a socket and talk with it.. however, my problem is
>waiting for a connection and multiple users..

>If a connection has not been made, I want my program (the daemon) to run
>some other stuff, since more than one user will be able to access it at
>a time. I am led to believe that accept sits and waits for a connection
>of some sort and doesn't do anything else until a connection is made.
>Am I incorrect in this assumption? If this is the case, how would I check
>to see if a connection is being made, and if not, continue running other
>parts of my program to take care of the users who are already connected.

>And where might I find some stuff on the net that talks about sockets and
>daemons and the like? I have a few books here, but they don't say much..
>at least not what I need..

Then You haven't read Stevens' book. It gives very fine examples for
concurrent servers that do just what You want.
You'll have a "daemon" that sits and waits for connections and, if one
arrives, forks off a child to do the dirty work while daddy sits ... and
waits for connections.
-- 
| Josef Moellers		| c/o Siemens Nixdorf Informationssysteme AG  |
|  USA: mollers.pad@sni-usa.com	| Abt. STO-XS 113	   | Riemekestrasse   |
| !USA: mollers.pad@sni.de	| Phone: (+49) 5251 835124 | D-4790 Paderborn |

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

From: Josef Moellers <mollers.pad@sni.de>
Subject: Re: What does cc -D option means ?
Date: 12 Oct 92 07:43:57 GMT
To:       info-unix@sem.brl.mil

In <32981@adm.brl.mil> AMARAL@fncrd0.fnal.gov (Jorge Luis M. do Amaral) writes:

>Hi ,
>	Does anyone can explain me what the cc -D option means ?

>	I'm trying to compile a program that has in his make something
>like:
>	cc -g -DWANT_X11 -DWANT_MFB ....

It's the command line equivalent of

	# define	WANT_X11	1
	# define	WANT_MFB	1

There is another version of -D that allows You to replace the "1":

	cc -g -DDATE=\"10/12/92\" ...

which is the equivalent of

	# define	DATE	"10/12/92"

But You're not trying to tell us that "man cc" doesn't tell You all
this, do You?
-- 
| Josef Moellers		| c/o Siemens Nixdorf Informationssysteme AG  |
|  USA: mollers.pad@sni-usa.com	| Abt. STO-XS 113	   | Riemekestrasse   |
| !USA: mollers.pad@sni.de	| Phone: (+49) 5251 835124 | D-4790 Paderborn |

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

From: Richard Czech <richard@borneo.gmd.de>
Subject: Re: time output... how to capture when running batch jobs?
Date: 12 Oct 92 13:09:23 GMT
To:       info-unix@sem.brl.mil

In article <BvvC4v.4yv@usenet.ucs.indiana.edu>, Eric C. Garrison
<ericg@sopwith.ucs.indiana.edu> writes:
|> The thing is, I am not sure how to redirect the output of
|> time to another file.  Even redirecting the stderr to
|> a file produces no output.

Try this in Bourne Shell:

	time myprog 2> time.out

Time writes it's output to stderr.

 ----------------------------------------------------------------------
        Richard Czech                        e-mail:      czech@gmd.de
         GMD-I5-FIT
        P.O.Box 13 16                        phone: (+49) 2241 14 2039
D-5205 St. Augustin 1, Germany               fax:   (+49) 2241 14 2342
 ----------------------------------------------------------------------

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


End of INFO-UNIX Digest
***********************
Newsgroups: comp.unix.questions