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

  1. System: rn version 4.3
  2. Patch #: 24
  3. Priority: INFINITESIMAL
  4. Subject: tailorable mail call string
  5. >From: msb@lsuc.UUCP (Mark Brader)
  6.  
  7. Description:
  8.     Some users don't like the prompt "(Mail)" when there's new mail.
  9.     In order to tailor that they may now define the variable MAILCALL.
  10.  
  11. Fix:    From rn, say "| patch -d DIR", where DIR is your rn source directory.
  12.     Outside of rn, say "cd DIR; patch <thisarticle".  If you don't have
  13.     the patch program, apply the following by hand, or get patch.
  14.  
  15.     If patch indicates that patchlevel is the wrong version, you may need
  16.     to apply one or more previous patches, or the patch may already
  17.     have been applied.  See the patchlevel file to find out what has or
  18.     has not been applied.  In any event, don't continue with the patch.
  19.  
  20. Index: patchlevel
  21. Prereq: 23
  22. 1c1
  23. < Patch #: 23
  24. ---
  25. > Patch #: 24
  26.  
  27. Index: ng.c
  28. Prereq: 4.3.1.3
  29. *** ng.c.old    Tue Jul 23 18:20:53 1985
  30. --- ng.c    Tue Jul 23 18:21:00 1985
  31. ***************
  32. *** 1,4
  33. ! /* $Header: ng.c,v 4.3.1.3 85/05/16 16:48:09 lwall Exp $
  34.    *
  35.    * $Log:    ng.c,v $
  36.    * Revision 4.3.1.3  85/05/16  16:48:09  lwall
  37.  
  38. --- 1,4 -----
  39. ! /* $Header: ng.c,v 4.3.1.4 85/07/23 18:19:46 lwall Exp $
  40.    *
  41.    * $Log:    ng.c,v $
  42.    * Revision 4.3.1.4  85/07/23  18:19:46  lwall
  43. ***************
  44. *** 1,6
  45.   /* $Header: ng.c,v 4.3.1.3 85/05/16 16:48:09 lwall Exp $
  46.    *
  47.    * $Log:    ng.c,v $
  48.    * Revision 4.3.1.3  85/05/16  16:48:09  lwall
  49.    * Fixed unsubsubscribe.
  50.    * 
  51.  
  52. --- 1,9 -----
  53.   /* $Header: ng.c,v 4.3.1.4 85/07/23 18:19:46 lwall Exp $
  54.    *
  55.    * $Log:    ng.c,v $
  56. +  * Revision 4.3.1.4  85/07/23  18:19:46  lwall
  57. +  * Added MAILCALL environment variable.
  58. +  * 
  59.    * Revision 4.3.1.3  85/05/16  16:48:09  lwall
  60.    * Fixed unsubsubscribe.
  61.    * 
  62. ***************
  63. *** 948,954
  64.           || filestat.st_atime > filestat.st_mtime)
  65.           mailcall = nullstr;
  66.       else
  67. !         mailcall = "(Mail) ";
  68.       }
  69.       mailcount %= 10;            /* check every 10 articles */
  70.   }
  71.  
  72. --- 951,957 -----
  73.           || filestat.st_atime > filestat.st_mtime)
  74.           mailcall = nullstr;
  75.       else
  76. !         mailcall = getval("MAILCALL","(Mail) ");
  77.       }
  78.       mailcount %= 10;            /* check every 10 articles */
  79.   }
  80.  
  81. Index: rn.1
  82. Prereq: 4.3.1.3
  83. *** rn.1.old    Tue Jul 23 18:28:24 1985
  84. --- rn.1    Tue Jul 23 18:28:40 1985
  85. ***************
  86. *** 1,4
  87. ! ''' $Header: rn.1,v 4.3.1.3 85/05/23 17:14:14 lwall Exp $
  88.   ''' 
  89.   ''' $Log:    rn.1,v $
  90.   ''' Revision 4.3.1.3  85/05/23  17:14:14  lwall
  91.  
  92. --- 1,4 -----
  93. ! ''' $Header: rn.1,v 4.3.1.4 85/07/23 18:26:40 lwall Exp $
  94.   ''' 
  95.   ''' $Log:    rn.1,v $
  96.   ''' Revision 4.3.1.4  85/07/23  18:26:40  lwall
  97. ***************
  98. *** 1,6
  99.   ''' $Header: rn.1,v 4.3.1.3 85/05/23 17:14:14 lwall Exp $
  100.   ''' 
  101.   ''' $Log:    rn.1,v $
  102.   ''' Revision 4.3.1.3  85/05/23  17:14:14  lwall
  103.   ''' Now allows 'r' and 'f' on null articles.
  104.   ''' 
  105.  
  106. --- 1,9 -----
  107.   ''' $Header: rn.1,v 4.3.1.4 85/07/23 18:26:40 lwall Exp $
  108.   ''' 
  109.   ''' $Log:    rn.1,v $
  110. + ''' Revision 4.3.1.4  85/07/23  18:26:40  lwall
  111. + ''' Added MAILCALL.
  112. + ''' 
  113.   ''' Revision 4.3.1.3  85/05/23  17:14:14  lwall
  114.   ''' Now allows 'r' and 'f' on null articles.
  115.   ''' 
  116. ***************
  117. *** 1292,1298
  118.   A recommended string for this purpose is \*(L"^>...\*(R", which \fIdoesn't\fR
  119.   hide lines with only \*(L'>\*(R', to give some indication that quoted
  120.   material is being skipped.
  121. ! If you want to hide more than one pattern, you can use \*(L"\|\*(R" to
  122.   separate the alternatives.
  123.   You can view the hidden lines by restarting the article with the \*(L'v\*(R'
  124.   command.
  125.  
  126. --- 1295,1301 -----
  127.   A recommended string for this purpose is \*(L"^>...\*(R", which \fIdoesn't\fR
  128.   hide lines with only \*(L'>\*(R', to give some indication that quoted
  129.   material is being skipped.
  130. ! If you want to hide more than one pattern, you can use \*(L"\||\|\*(R" to
  131.   separate the alternatives.
  132.   You can view the hidden lines by restarting the article with the \*(L'v\*(R'
  133.   command.
  134. ***************
  135. *** 1333,1338
  136.   May be interpolated using \*(L"%L\*(R".
  137.   .Sp
  138.   Default: value of getlogin().
  139.   .Ip "MAILFILE (~)" 8
  140.   Where to check for mail.
  141.   .Sp
  142.  
  143. --- 1336,1345 -----
  144.   May be interpolated using \*(L"%L\*(R".
  145.   .Sp
  146.   Default: value of getlogin().
  147. + .Ip "MAILCALL (~)" 8
  148. + What to say when there is new mail.
  149. + .Sp
  150. + Default: (Mail)
  151.   .Ip "MAILFILE (~)" 8
  152.   Where to check for mail.
  153.   .Sp
  154. ***************
  155. *** 1444,1450
  156.   (Then, when you see \*(L"--\*(R" at the bottom of the page, you can skip
  157.   the signature if you so desire by typing \*(L'n\*(R' instead of space.)
  158.   To do both, you could use \*(L"^--\*(R".
  159. ! If you want to break on more than one pattern, you can use \*(L"\|\*(R" to
  160.   separate the alternatives.
  161.   .Sp
  162.   There is some overhead involved in matching each line of the article against
  163.  
  164. --- 1451,1457 -----
  165.   (Then, when you see \*(L"--\*(R" at the bottom of the page, you can skip
  166.   the signature if you so desire by typing \*(L'n\*(R' instead of space.)
  167.   To do both, you could use \*(L"^--\*(R".
  168. ! If you want to break on more than one pattern, you can use \*(L"\||\|\*(R" to
  169.   separate the alternatives.
  170.   .Sp
  171.   There is some overhead involved in matching each line of the article against
  172.  
  173.  
  174.