From: postmaster@vd1.hanscom.af.mil (SMTP MAILER)
Newsgroups: comp.unix.questions
Subject: Mail Delivery Problem
Date: 11 Sep 92 03:51:19 GMT


 ----Reason for mail failure follows----
Sending mail to recipient(s) woodfordm :
  Couldn't make final delivery.

 ----Transcript of message follows----
Received: from gw1.hanscom.af.mil by vd1.hanscom.af.mil with SMTP ; 
          Wed,  9 Sep 92 22:01:30 EST
Date: 9 Sep 92 22:00:00 EST
From: INFO-UNIX@BRL.MIL
Subject: INFO-UNIX Digest  V16#004
To: "woodfordm" <woodfordm@vd1.hanscom.af.mil>

Return-Path: <info-unix-request@sem.brl.mil>
Received: from SEM.BRL.MIL by gw1.hanscom.af.mil with SMTP ; 
          Wed,  9 Sep 92 21:59:52 EST
Received: from SEM.BRL.MIL by SEM.BRL.MIL id ab22658; 9 Sep 92 15:29 EDT
Received: from sem.brl.mil by SEM.BRL.MIL id aa22578; 9 Sep 92 15:15 EDT
Date:       Wed, 09 Sep 92 15:15:32 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#004

INFO-UNIX Digest          Wed, 09 Sep 1992              V16#004

Today's Topics:
                     Make with multiple directories
           Warning: 1 sector(s) in last cylinder unallocated
            Re: How to determine user login time in minutes?
                           Re: logout message
         Portable method for obtaining domain style hostnames.
                                Re: FAQ
-----------------------------------------------------------------

From: Dennis Kowalski <dkowalsk@usdsd1.daytonoh.ncr.com>
Subject: Make with multiple directories
Date: 27 Aug 92 19:35:16 GMT
To:       info-unix@sem.brl.mil



 The following is an example of one of our make files.

TARGET = $(SYSMAKE)vlidump

LIB =$(LIBS)

OFILES= \
	vlidump.o


$(TARGET):  $(OFILES) $(LIB)
	$(CC) -o $@ $(OFILES) $(LIB)

vlidump.o: $(HFILES) 	$(INCDIR)/str2.h




  The LIBS variable is set prior to the make. This works fine.
  
  The INCDIR variable is set prior to the make. This works fine.

  The SYSMAKE variable is set to null or /some/dirname/ prior to the make
  running. 
  This results in the generated executable being written to the current
  directory or to some other directory.
  This works fine.


  My new problem is a requirement to have the source files in directory A,
  the make running in directory B, the .o files are to be written in 
  directory B, and 
  the executable writtten as before, either in the current directory (B)
  or the $(SYSMAKE) directory (C).

 Anyone have any ideas how to do this??

  
Dennis Kowalski         NCR Corporation  PCD-3                  (513) 445-1843
Systems Architecture    1700 S. Patterson Blvd              VOICEplus 622-1843
USG Data Services Div   Dayton, Ohio     45479
Dennis.Kowalski@DaytonOH.NCR.COM
-- 
Dennis Kowalski         NCR Corporation  PCD-3                  (513) 445-1843
Systems Architecture    1700 S. Patterson Blvd              VOICEplus 622-1843
USG Data Services Div   Dayton, Ohio     45479
Dennis.Kowalski@DaytonOH.NCR.COM

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

From: Eamonn <ecoleman@qualcom.qualcomm.com>
Subject: Warning: 1 sector(s) in last cylinder unallocated
Date: 27 Aug 92 21:17:39 GMT
To:       info-unix@sem.brl.mil

I'm trying to format a Fujitsu M2624FA under 386BSD. This is the disktab 
entry I'm using. 

# root partition: 64 Cyl (22.71 MB)
# swap partition: 103 Cyl (36.55 MB)
# user partition: 1296 Cyl (459.84 MB)
M2624SA|Fujitsu M2624SA|Fujitsu 520.1MB SCSI:\
	:dt=SCSI:ty=winchester:se#512:nt#63:ns#11:nc#1463:rm#4400:\
	:pa#44352:oa#0:ba#8192:fa#1024:ta=4.2BSD:\
	:pb#71379:ob#44352:tb=swap:\
	:pc#1013859:oc#0:\
	:pg#898128:og#115731:bg#8192:fg#1024:tg=4.2BSD:

Even if I try a different partitioning arrangement ( eg that provided
by diskpart -d ), I get the same error message from newfs:  "Warning: 
1 sector(s)in last cylinder unallocated". I don't know how severe this
error message is or what I can do about it. If anyone could help me out
here I would appreciate it. Email replies are fine. 

Many thanks!

btw the error shows itself only on partitions b or c while a and g are
fine. 
-- 
Eamonn Coleman                            Qualcomm Incorporated
eamonn@qualcomm.com                       10555 Sorrento Valley Road
Tel. (619) 597-5280                       San Diego, CA 92121-1617   

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

From: "Burtin;Boris;;;;COMS;Undergraduate;940630;911002;1000" <cosmo@cherry.ucsb.edu>
Subject: Re: How to determine user login time in minutes?
Date: 27 Aug 92 21:25:51 GMT
To:       info-unix@sem.brl.mil

Thanks to all who replied.  It looks like I'm going to be stuck with doing my
own math when determining my login time.

I did get one suggestion that particularly perked my curiosity.  Richard Czech
(czech@gmd.de) suggested the following:

	Try to put the command "time" into your .logout file. Just "time"
	without any parameters gives you the uses system, cpu and real
	time of the current shell. 

Sure enough, this works when executed in real time.  But when you try to pipe
the output to a file or variable, it displays the _time_it_takes_to_perform
_that_action_!  

Does anyone have suggestions about how to keep the output of time which tells
me how long I've been logged in?  By the way, if it makes a difference, I'm
running tcsh on SunOS 4.1.2.

--
     - Boris
(cosmo@cs.ucsb.edu)

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

From: Guy Harris <guy@auspex.com>
Subject: Re: logout message
Date: 27 Aug 92 21:45:29 GMT
To:       info-unix@sem.brl.mil

> Can anyone tell how to display some message when I logout?

Several people apparently can; however, not all of them are telling the
original poster the same thing.

The "trap 0" answer is for users of the Bourne shell and compatibles
(Korn shell, Bourne-again shell, etc.).

The ".logout" answer is for users of the C shell and compatibles.

Remember, your environment might not be the same as the original
poster's (different shell, different UNIX flavor, etc.).

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

From: Daniel Weise <daniel@dolores.stanford.edu>
Subject: Portable method for obtaining domain style hostnames.
Date: 7 Sep 92 18:44:49 GMT
To:       info-unix@sem.brl.mil

Is there any guaranteed portable method (ie, works under all shells)
for determing the domain-style hostname of a Unix box?

Thanks,
Daniel Weise

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

From: "Marshall G. Flax" <mgflax@phoenix.princeton.edu>
Subject: Re: FAQ
Date: 7 Sep 92 22:24:40 GMT
To:       info-unix@sem.brl.mil

In article <dcK002UL1f8p01@JUTS.ccc.amdahl.com> jjh00@OUTS.ccc.amdahl.com (Joel J. Hanes) writes:
>Me too, please.  I've scanned the group every day for
>nine weeks; where is the FAQ?

1. "Metoo" requests are more appropriately asked as e-mail rather than
news postings.  Think about that until it makes sense.

2. The FAQ is available by FTP from:
	pit-manager.mit.edu:/pub/usenet/news.answers/unix-faq/part*

   (Those w/o FTP may send a message containing the word "help" to
	mail-server@pit-manager.mit.edu )


marshall
-- 
============ 40 Linden Lane, Princeton, NJ 08540, 609-921-0962 ============
=========== 5 Joyce Lane, Woodbury, NY 11797, 516-364-9331,9379  ==========
===== c/o Jack Gelfand,Psych Dept,Princeton U.,NJ 08544,609-258-2930  =====
= Original material(c) 1992, Marshall Flax <mgflax@phoenix.Princeton.EDU> =

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


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