Article View: net.sources.bugs
Article #955Patch #1 for Display, recently in mod.sources
From: paul
Date: Thu, 05 Mar 1987 23:13
Date: Thu, 05 Mar 1987 23:13
57 lines
2214 bytes
2214 bytes
Patches for Display 1.0.
Okay, I'm embarrassed. I'm mailing this to the moderator, in hopes that
he will simply apply this patch to the archived version, saving a seperate
archive entry for patches to something as trivial as this display program.
Apply this article using patch and re-make. Sorry for the inconvenience...
*** display.c.orig Thu Mar 5 15:02:37 1987
--- display.c Thu Mar 5 01:48:01 1987
***************
*** 1,6 ****
--- 1,7 ----
/* display.c - repeatedly display command through curses
* vix 18apr86 [written]
* vix 15dec86 [major overhaul]
+ * vix 04mar87 [fix command line parsing, from Jeremy Primer, primer@huma1]
*/
***************
*** 100,106 ****
if (Command != NULL)
usage(); /* already got this once */
else
! Command = argv[1];
}
if (Command == NULL)
usage(); /* no Command on line */
--- 101,107 ----
if (Command != NULL)
usage(); /* already got this once */
else
! Command = argv[argn];
}
if (Command == NULL)
usage(); /* no Command on line */
*** display.man.orig Thu Mar 5 15:01:55 1987
--- display.man Thu Mar 5 15:02:07 1987
***************
*** 1,4 ****
! .TH AT 1 "December 15, 1986"
.UC 4
.SH NAME
display \- repeat a command through curses for minimal update
--- 1,4 ----
! .TH DISPLAY 1 "December 15, 1986"
.UC 4
.SH NAME
display \- repeat a command through curses for minimal update
--
Paul A. Vixie {ptsfa, crash, winfree}!vixie!paul
329 Noe Street dual!ptsfa!vixie!paul@ucbvax.Berkeley.EDU
San Francisco
CA 94116 paul@vixie.UUCP (415) 864-7013
Technical Details
Message-ID:
<506@vixie.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ihnp4!ptsfa!vixie!paulShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ihnp4!ptsfa!vixie!paul From: paul@vixie.UUCP Newsgroups: net.sources.bugs Subject: Patch #1 for Display, recently in mod.sources Message-ID: <506@vixie.UUCP> Date: Thu, 5-Mar-87 18:13:35 EST Article-I.D.: vixie.506 Posted: Thu Mar 5 18:13:35 1987 Date-Received: Sat, 7-Mar-87 04:36:42 EST Reply-To: paul@vixie.UUCP (Paul Vixie Esq) Distribution: world Organization: Vixie Enterprises, San Francisco Lines: 57