Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!kuhub.cc.ukans.edu!anu-news!list From: root@NSFNET-RELAY.AC.UK Newsgroups: news.software.anu-news Subject: Mail Delivery Failure to uk.ac.king - Timeout Message-ID: Date: 30 Dec 89 01:36:29 GMT Sender: ANU-NEWS Discussion Reply-To: root@NSFNET-RELAY.AC.UK Lines: 70 Via: 000040010180.FTP.MAIL; 30 DEC 89 1:40:07 GMT The NIFTP process was unable to deliver your mail to host uk.ac.king over janet. The reason given by the local host was: The NIFTP process gave up after 116 attempts over 168 hours Your message was not delivered to the following addresses: GPKING@uk.ac.kingston Your message begins as follows: Received: from vax.nsfnet-relay.ac.uk by sun.NSFnet-Relay.AC.UK Via Ethernet with SMTP id aa14379; 23 Dec 89 1:03 GMT Received: from sun.nsfnet-relay.ac.uk by vax.NSFnet-Relay.AC.UK via Janet with NIFTP id aa13555; 23 Dec 89 0:59 GMT Received: from UKACRL by UK.AC.RL.IB (Mailer X1.25) with BSMTP id 8191; Sat, 23 Dec 89 00:59:18 GM Received: from NDSUVM1.BITNET by UKACRL.BITNET (Mailer X1.25) with BSMTP id 5176; Sat, 23 Dec 89 00:59:17 G Received: from NDSUVM1.BITNET by NDSUVM1.BITNET (Mailer R2.03B) with BSMTP id 0592; Fri, 22 Dec 89 12:59:55 C Date: Thu, 21 Dec 89 21:41:50 GMT Reply-To: tanner@edu.cerritos Original-Sender: ANU-NEWS Discussion From: tanner@edu.cerritos Subject: Re: How to use patch? To: Multiple recipients of list ANU-NEWS Sender: ANU-NEWS%earn.ndsuvm1@uk.ac.earn-relay In article <4981.25908cae@pbs.uucp>, sdroppers@pbs.uucp writes: > I have checked back, but I cannot find anything, is there a man page or such > that someone can post (or E-Mail) about how to use patch? If patch is a *nix > tool then I am in the dark, we have no such docs available. Here's a DCL file I used to patch 5.9C. I copied the News 5.9 sources and the 5.9C .DIFF files to a directory (yes, on the same disk as sys$scratch) and executed this file. Everything seemed to update fine. Beware the logical UTL:, it's where we put our utilities. $ set noon $ patch := $utl:patch $ rename newsmail.c newsvmsmail.c $ context = 0 $loop: ! loop for all .diff files $ dif = f$search("*.diff",context) $ if dif .eqs. "" then exit $ name = f$parse(dif,,,"name") + f$parse(dif,,,"type") ! make short filename $ open file 'dif' $ read/end_of_file=empty file line ! read the diff file header $ start = f$locate("]",line) + 1 $ dest = f$extract(start,f$length(line)-start,line) ! extract filename $ read/end_of_file=empty file line $ read/end_of_file=empty file line ! test for empty diff files $ write sys$output "patching ''dest'" $ patch 'dest' 'name''type' $empty: ! .diff file contains header only, skip patch $ close file $ goto loop If you need patch.exe, it's on gray.cerritos.edu for anonymous ftp. -Bruce -- Bruce Tanner (213) 860-2451 x 596 Tanner@Cerritos.EDU Cerritos College Norwalk, CA cerritos!tanner