[net.sources.bugs] Patch #1 for Display, recently in mod.sources

paul@vixie.UUCP (03/06/87)

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