home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume1 / rn / patch20 < prev    next >
Text File  |  1986-11-30  |  4KB  |  179 lines

  1. System: rn version 4.3
  2. Patch #: 20
  3. Priority: LOW
  4. Subject: kill files are boring at low speed
  5. >From: phil@amdcad.UUCP (Phil Ngai)
  6.  
  7. Description:
  8.     The stuff that's printed out when KILL processing is being done
  9.     is boring to watch at low baud rates.  The following patch suppresses
  10.     most of the output when -t is in effect.  It still prints a dot for
  11.     each line of the KILL file, and the numbers of any articles junked.
  12.  
  13. Fix:    From rn, say "| patch -d DIR", where DIR is your rn source
  14. directory.
  15.     Outside of rn, say "cd DIR; patch <thisarticle".  If you don't have
  16.     the patch program, apply the following by hand, or get patch.
  17.  
  18.     If patch indicates that patchlevel is the wrong version, you may need
  19.     to apply one or more previous patches, or the patch may already
  20.     have been applied.  See the patchlevel file to find out what has or
  21.     has not been applied.  In any event, don't continue with the patch.
  22.  
  23. Index: patchlevel
  24. Prereq: 19
  25. 1c1
  26. < Patch #: 19
  27. ---
  28. > Patch #: 20
  29.  
  30. Index: kfile.c
  31. Prereq: 4.3.1.2
  32. *** kfile.c.old    Wed May 29 09:12:59 1985
  33. --- kfile.c    Wed May 29 09:13:03 1985
  34. ***************
  35. *** 1,4
  36. ! /* $Header: kfile.c,v 4.3.1.2 85/05/10 14:21:29 lwall Exp $
  37.    *
  38.    * $Log:    kfile.c,v $
  39.    * Revision 4.3.1.2  85/05/10  14:21:29  lwall
  40.  
  41. --- 1,4 -----
  42. ! /* $Header: kfile.c,v 4.3.1.3 85/05/29 09:11:52 lwall Exp $
  43.    *
  44.    * $Log:    kfile.c,v $
  45.    * Revision 4.3.1.3  85/05/29  09:11:52  lwall
  46. ***************
  47. *** 1,6
  48.   /* $Header: kfile.c,v 4.3.1.2 85/05/10 14:21:29 lwall Exp $
  49.    *
  50.    * $Log:    kfile.c,v $
  51.    * Revision 4.3.1.2  85/05/10  14:21:29  lwall
  52.    * Prevented THRU from setting art < absfirst.
  53.    * 
  54.  
  55. --- 1,9 -----
  56.   /* $Header: kfile.c,v 4.3.1.3 85/05/29 09:11:52 lwall Exp $
  57.    *
  58.    * $Log:    kfile.c,v $
  59. +  * Revision 4.3.1.3  85/05/29  09:11:52  lwall
  60. +  * Suppressed some killing messages on -t.
  61. +  * 
  62.    * Revision 4.3.1.2  85/05/10  14:21:29  lwall
  63.    * Prevented THRU from setting art < absfirst.
  64.    * 
  65. ***************
  66. *** 51,56
  67.   mention(str)
  68.   char *str;
  69.   {
  70.   #ifdef NOFIREWORKS
  71.       no_sofire();
  72.   #endif
  73.  
  74. --- 54,61 -----
  75.   mention(str)
  76.   char *str;
  77.   {
  78. + #ifdef VERBOSE
  79. +     IF(verbose) {
  80.   #ifdef NOFIREWORKS
  81.       no_sofire();
  82.   #endif
  83. ***************
  84. *** 52,58
  85.   char *str;
  86.   {
  87.   #ifdef NOFIREWORKS
  88. !     no_sofire();
  89.   #endif
  90.       standout();
  91.       fputs(str,stdout);
  92.  
  93. --- 57,63 -----
  94.   #ifdef VERBOSE
  95.       IF(verbose) {
  96.   #ifdef NOFIREWORKS
  97. !     no_sofire();
  98.   #endif
  99.       standout();
  100.       fputs(str,stdout);
  101. ***************
  102. *** 54,63
  103.   #ifdef NOFIREWORKS
  104.       no_sofire();
  105.   #endif
  106. !     standout();
  107. !     fputs(str,stdout);
  108. !     un_standout();
  109. !     putchar('\n');
  110.       fflush(stdout);
  111.   }
  112.   
  113.  
  114. --- 59,74 -----
  115.   #ifdef NOFIREWORKS
  116.       no_sofire();
  117.   #endif
  118. !     standout();
  119. !     fputs(str,stdout);
  120. !     un_standout();
  121. !     putchar('\n');
  122. !     }
  123. !     ELSE
  124. ! #endif
  125. ! #ifdef TERSE
  126. !     putchar('.');
  127. ! #endif
  128.       fflush(stdout);
  129.   }
  130.   
  131. ***************
  132. *** 144,151
  133.       oldfirst = firstart;
  134.       firstart = starting;
  135.       clear();
  136. !     if (message)
  137. !         fputs(message,stdout) FLUSH;
  138.       if (localkfp)
  139.           intr = do_kfile(localkfp,entering);
  140.       if (globkfp && !intr)
  141.  
  142. --- 155,165 -----
  143.       oldfirst = firstart;
  144.       firstart = starting;
  145.       clear();
  146. ! #ifdef VERBOSE
  147. !     IF(verbose)
  148. !         if (message)
  149. !         fputs(message,stdout) FLUSH;
  150. ! #endif
  151.       if (localkfp)
  152.           intr = do_kfile(localkfp,entering);
  153.       if (globkfp && !intr)
  154. ***************
  155. *** 153,160
  156.       if (entering && localkfp && !intr)
  157.           setthru(lastart);
  158.       putchar('\n') FLUSH;
  159. !     if (entering)
  160. !         get_anything();
  161.       if (anytokill)            /* if there was anything to kill */
  162.           forcelast = FALSE;        /* allow for having killed it all */
  163.       firstart = oldfirst;
  164.  
  165. --- 167,177 -----
  166.       if (entering && localkfp && !intr)
  167.           setthru(lastart);
  168.       putchar('\n') FLUSH;
  169. ! #ifdef VERBOSE
  170. !     IF(verbose)
  171. !         if (entering)
  172. !         get_anything();
  173. ! #endif
  174.       if (anytokill)            /* if there was anything to kill */
  175.           forcelast = FALSE;        /* allow for having killed it all */
  176.       firstart = oldfirst;
  177.  
  178.  
  179.