home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sources / bugs / 327 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  21.8 KB

  1. Path: sparky!uunet!eiffel!ram
  2. From: ram@eiffel.com (Raphael Manfredi)
  3. Newsgroups: comp.sources.bugs
  4. Subject: mailagent 2.9 patch #16
  5. Summary: This is an official patch for mailagent 2.9.  Please apply it.
  6. Message-ID: <169@eiffel.eiffel.com>
  7. Date: 12 Jan 93 21:54:45 GMT
  8. Organization: Interactive Software Engineering, Santa Barbara CA
  9. Lines: 749
  10.  
  11. System: mailagent version 2.9
  12. Patch #: 16
  13. Priority: MEDIUM
  14. Subject: patch #15, continued
  15. Date: Tue Jan 12 13:51:15 PST 1993
  16. From: Raphael Manfredi <ram@eiffel.com>
  17.  
  18. Description:
  19.     See patch #15.
  20.  
  21.  
  22. Fix:    From rn, say "| patch -p -N -d DIR", where DIR is your mailagent source
  23.     directory.  Outside of rn, say "cd DIR; patch -p -N <thisarticle".
  24.     If you don't have the patch program, apply the following by hand,
  25.     or get patch (version 2.0, latest patchlevel).
  26.  
  27.     After patching:
  28.         ### Read this carefully
  29.         # Unusual stuff
  30.         cd agent/test
  31.         mkdir misc
  32.         cd misc
  33.         cp /dev/null compress.t
  34.         cp /dev/null mmdf.t
  35.         cd ../../..
  36.         # The usual stuff
  37.         Configure -d
  38.         make depend
  39.         make
  40.         make install
  41.         make install.man
  42.  
  43.     If patch indicates that patchlevel is the wrong version, you may need
  44.     to apply one or more previous patches, or the patch may already
  45.     have been applied.  See the patchlevel.h file to find out what has or
  46.     has not been applied.  In any event, don't continue with the patch.
  47.  
  48.     If you are missing previous patches they can be obtained from me:
  49.  
  50.         Raphael Manfredi <ram@eiffel.com>
  51.  
  52.     If you send a mail message of the following form it will greatly speed
  53.     processing:
  54.  
  55.         Subject: Command
  56.         @SH mailpatch PATH mailagent 2.9 LIST
  57.                ^ note the c
  58.  
  59.     where PATH is a return path FROM ME TO YOU either in Internet notation,
  60.     or in bang notation from some well-known host, and LIST is the number
  61.     of one or more patches you need, separated by spaces, commas, and/or
  62.     hyphens.  Saying 35- says everything from 35 to the end.
  63.  
  64.     To get some more detailed instructions, send me the following mail:
  65.  
  66.         Subject: Command
  67.         @SH mailhelp PATH
  68.  
  69.  
  70. Index: patchlevel.h
  71. Prereq: 15
  72. 4c4
  73. < #define PATCHLEVEL 15
  74. ---
  75. > #define PATCHLEVEL 16
  76.  
  77. Index: MANIFEST
  78. *** MANIFEST.old    Tue Jan 12 13:41:53 1993
  79. --- MANIFEST    Tue Jan 12 13:41:54 1993
  80. ***************
  81. *** 73,78 ****
  82. --- 73,79 ----
  83.   agent/pl/analyze.pl        Perl library analyzing the incoming mail
  84.   agent/pl/builtins.pl       Perl library dealing with builtins
  85.   agent/pl/checklock.pl      Perl library to check for long lasting locks
  86. + agent/pl/compress.pl       Folder compression library
  87.   agent/pl/context.pl        Mailagent context file handling
  88.   agent/pl/dbr.pl            Internal database management
  89.   agent/pl/distribs.pl       Perl library to scan the distribs file
  90. ***************
  91. *** 98,103 ****
  92. --- 99,105 ----
  93.   agent/pl/makedir.pl        Perl library for making a directory
  94.   agent/pl/matching.pl       Matching routines used by filter
  95.   agent/pl/mbox.pl           Getting mails from a mailbox file
  96. + agent/pl/mmdf.pl           MMDF-style mailbox handling
  97.   agent/pl/once.pl           Dealing with once commands
  98.   agent/pl/parse.pl          Perl library to parse a mail message
  99.   agent/pl/period.pl         Perl library to compute periods
  100. ***************
  101. *** 178,183 ****
  102. --- 180,187 ----
  103.   agent/test/filter/status.t     Action status updating tests
  104.   agent/test/level               Default logging level for tests
  105.   agent/test/mail                The mail used by testing routines
  106. + agent/test/misc/compress.t     Folder compression checks
  107. + agent/test/misc/mmdf.t         MMDF-style mailbox checks
  108.   agent/test/option/             Tests the options to the mailagent program
  109.   agent/test/option/L.t          Test -L option
  110.   agent/test/option/V.t          Test -V option
  111.  
  112. Index: agent/pl/plsave.pl
  113. Prereq: 2.9
  114. *** agent/pl/plsave.pl.old    Tue Jan 12 13:41:42 1993
  115. --- agent/pl/plsave.pl    Tue Jan 12 13:41:43 1993
  116. ***************
  117. *** 1,4 ****
  118. ! ;# $Id: plsave.pl,v 2.9 92/07/14 16:50:29 ram Exp $
  119.   ;#
  120.   ;#  Copyright (c) 1991, Raphael Manfredi
  121.   ;#
  122. --- 1,4 ----
  123. ! ;# $Id: plsave.pl,v 2.9.1.1 93/01/12 13:34:53 ram Exp $
  124.   ;#
  125.   ;#  Copyright (c) 1991, Raphael Manfredi
  126.   ;#
  127. ***************
  128. *** 6,11 ****
  129. --- 6,14 ----
  130.   ;#  Licence as specified in the README file that comes with dist.
  131.   ;#
  132.   ;# $Log:    plsave.pl,v $
  133. + ;# Revision 2.9.1.1  93/01/12  13:34:53  ram
  134. + ;# patch15: lock outdating now performed by &acs_rqst
  135. + ;# 
  136.   ;# Revision 2.9  92/07/14  16:50:29  ram
  137.   ;# 3.0 beta baseline.
  138.   ;# 
  139. ***************
  140. *** 74,83 ****
  141.   # file we write is not correct, in case the distribution file changed
  142.   # while we were processing a mail. However, it isn't a big problem.
  143.   sub write_plsave {
  144. !     local($lockext) = ".lock";        # Needed by checklock
  145.       local($system);
  146.       local($version);
  147. -     do checklock($cf'plsave);        # Make sure no old lock lasts
  148.       if (0 != &acs_rqst($cf'plsave)) {
  149.           do add_log("WARNING updating unlocked patlist file")
  150.               if ($loglvl > 5);
  151. --- 77,85 ----
  152.   # file we write is not correct, in case the distribution file changed
  153.   # while we were processing a mail. However, it isn't a big problem.
  154.   sub write_plsave {
  155. !     local($lockext) = ".lock";        # Needed by checklock (via acs_rqst)
  156.       local($system);
  157.       local($version);
  158.       if (0 != &acs_rqst($cf'plsave)) {
  159.           do add_log("WARNING updating unlocked patlist file")
  160.               if ($loglvl > 5);
  161.  
  162. Index: agent/files/mailagent.cf
  163. Prereq: 2.9.1.1
  164. *** agent/files/mailagent.cf.old    Tue Jan 12 13:40:40 1993
  165. --- agent/files/mailagent.cf    Tue Jan 12 13:40:40 1993
  166. ***************
  167. *** 2,8 ****
  168.   # Configuration file for mailagent
  169.   #
  170.   
  171. ! # $Id: mailagent.cf,v 2.9.1.1 92/08/02 15:52:42 ram Exp $
  172.   #
  173.   #  Copyright (c) 1991, Raphael Manfredi
  174.   #
  175. --- 2,8 ----
  176.   # Configuration file for mailagent
  177.   #
  178.   
  179. ! # $Id: mailagent.cf,v 2.9.1.2 93/01/12 12:07:32 ram Exp $
  180.   #
  181.   #  Copyright (c) 1991, Raphael Manfredi
  182.   #
  183. ***************
  184. *** 10,15 ****
  185. --- 10,18 ----
  186.   #  Licence as specified in the README file that comes with dist.
  187.   #
  188.   # $Log:    mailagent.cf,v $
  189. + # Revision 2.9.1.2  93/01/12  12:07:32  ram
  190. + # patch15: new parameters: nfslock, mmdf, mmdfbox and compress
  191. + # 
  192.   # Revision 2.9.1.1  92/08/02  15:52:42  ram
  193.   # patch2: new configuration parameter to specify mailbox file
  194.   # 
  195. ***************
  196. *** 58,65 ****
  197. --- 61,74 ----
  198.   timezone : PST8PDT                # Time zone location
  199.   statfile : $spool/mailagent.st    # Statistics file
  200.   rules    : ~/.rules                # Filter's rules location (optional)
  201. + nfslock  : OFF                    # NFS-secure locking (optional)
  202. + # Mailbox parameters
  203.   maildrop : /usr/mail            # System mail drop directory (optional)
  204.   mailbox  : $user                # Mailbox file name (optional)
  205. + mmdf     : OFF                    # Allow MMDF-style mailbox delivery
  206. + mmdfbox  : OFF                    # Force new folders to MMDF format
  207. + compress : ~/.compress            # Folder compression list (optional)
  208.   
  209.   # Database hashing directory (in $spool) and other controls
  210.   hash     : dbr                    # Hashing directory
  211.  
  212. Index: agent/pl/jobnum.pl
  213. Prereq: 2.9.1.1
  214. *** agent/pl/jobnum.pl.old    Tue Jan 12 13:41:35 1993
  215. --- agent/pl/jobnum.pl    Tue Jan 12 13:41:35 1993
  216. ***************
  217. *** 1,4 ****
  218. ! ;# $Id: jobnum.pl,v 2.9.1.1 92/08/26 13:14:57 ram Exp $
  219.   ;#
  220.   ;#  Copyright (c) 1992, Raphael Manfredi
  221.   ;#
  222. --- 1,4 ----
  223. ! ;# $Id: jobnum.pl,v 2.9.1.2 93/01/12 13:33:56 ram Exp $
  224.   ;#
  225.   ;#  Copyright (c) 1992, Raphael Manfredi
  226.   ;#
  227. ***************
  228. *** 6,17 ****
  229.   ;#  Licence as specified in the README file that comes with dist.
  230.   ;#
  231.   ;# $Log:    jobnum.pl,v $
  232.   ;# Revision 2.9.1.1  92/08/26  13:14:57  ram
  233.   ;# patch8: created
  234.   ;# 
  235.   ;# 
  236.   ;# Depends on the following external routines:
  237. ! ;#  checklock() to check for locks older than one hour
  238.   ;#  acs_rqst() to get a lock on file
  239.   ;#  free_file() to release lock on file
  240.   ;#
  241. --- 6,20 ----
  242.   ;#  Licence as specified in the README file that comes with dist.
  243.   ;#
  244.   ;# $Log:    jobnum.pl,v $
  245. + ;# Revision 2.9.1.2  93/01/12  13:33:56  ram
  246. + ;# patch15: lock outdating now performed by &acs_rqst
  247. + ;# 
  248.   ;# Revision 2.9.1.1  92/08/26  13:14:57  ram
  249.   ;# patch8: created
  250.   ;# 
  251.   ;# 
  252.   ;# Depends on the following external routines:
  253. ! ;#  checklock() to check for locks older than one hour (via acs_rqst)
  254.   ;#  acs_rqst() to get a lock on file
  255.   ;#  free_file() to release lock on file
  256.   ;#
  257. ***************
  258. *** 18,24 ****
  259.   # Computes a new job number
  260.   sub jobnum {
  261.       local($job);                        # Computed job number
  262. -     &checklock($cf'seqfile);            # Check for old lock
  263.       if (0 != &acs_rqst($cf'seqfile)) {
  264.           $job = "?";
  265.       } else {
  266. --- 21,26 ----
  267.  
  268. Index: bin/perload
  269. Prereq: 2.9.1.4
  270. *** bin/perload.old    Tue Jan 12 13:41:49 1993
  271. --- bin/perload    Tue Jan 12 13:41:50 1993
  272. ***************
  273. *** 1,4 ****
  274. ! # feed this into perl
  275.   '/bin/true' && eval 'exec perl -S $0 "$@"'
  276.       if $running_under_some_shell;
  277.   'di';
  278. --- 1,4 ----
  279. ! : # feed this into perl
  280.   '/bin/true' && eval 'exec perl -S $0 "$@"'
  281.       if $running_under_some_shell;
  282.   'di';
  283. ***************
  284. *** 8,14 ****
  285.   # This perl script is its own manual page [generated by wrapman]
  286.   #
  287.   
  288. ! # $Id: perload,v 2.9.1.4 92/11/10 10:14:47 ram Exp $
  289.   #
  290.   #  Copyright (c) 1992, Raphael Manfredi
  291.   #
  292. --- 8,14 ----
  293.   # This perl script is its own manual page [generated by wrapman]
  294.   #
  295.   
  296. ! # $Id: perload,v 2.9.1.5 93/01/12 13:39:42 ram Exp $
  297.   #
  298.   #  Copyright (c) 1992, Raphael Manfredi
  299.   #
  300. ***************
  301. *** 16,21 ****
  302. --- 16,24 ----
  303.   #  Licence as specified in the README file that comes with dist.
  304.   #
  305.   # $Log:    perload,v $
  306. + # Revision 2.9.1.5  93/01/12  13:39:42  ram
  307. + # patch15: perload now knows about leading ':' for shell startup
  308. + # 
  309.   # Revision 2.9.1.4  92/11/10  10:14:47  ram
  310.   # patch12: fixed English typo in manual section
  311.   # 
  312. ***************
  313. *** 49,55 ****
  314.   &Getopt;
  315.   
  316.   while (<>) {
  317. !     if ($. == 1 && /^#.*perl/) {    # Invocation stub
  318.           $has_invocation_stub = 1;
  319.           print;
  320.           next;
  321. --- 52,58 ----
  322.   &Getopt;
  323.   
  324.   while (<>) {
  325. !     if ($. == 1 && /^(:|#).*perl/) {    # Invocation stub
  326.           $has_invocation_stub = 1;
  327.           print;
  328.           next;
  329.  
  330. Index: agent/pl/getdate.pl
  331. Prereq: 2.9.1.1
  332. *** agent/pl/getdate.pl.old    Tue Jan 12 13:41:32 1993
  333. --- agent/pl/getdate.pl    Tue Jan 12 13:41:33 1993
  334. ***************
  335. *** 47,55 ****
  336.   ;# Below are logging information for this package as included in the
  337.   ;# mailagent program.
  338.   ;#
  339. ! ;# $Id: getdate.pl,v 2.9.1.1 92/07/25 12:39:08 ram Exp $
  340.   ;#
  341.   ;# $Log:    getdate.pl,v $
  342.   ;# Revision 2.9.1.1  92/07/25  12:39:08  ram
  343.   ;# patch1: swapped offsets for EET and WET (reported by Jost Krieger)
  344.   ;# 
  345. --- 47,59 ----
  346.   ;# Below are logging information for this package as included in the
  347.   ;# mailagent program.
  348.   ;#
  349. ! ;# $Id: getdate.pl,v 2.9.1.2 92/12/07 09:21:10 ram Exp $
  350.   ;#
  351.   ;# $Log:    getdate.pl,v $
  352. + ;# Revision 2.9.1.2  92/12/07  09:21:10  ram
  353. + ;# patch15: military timezones did not parse correctly
  354. + ;# patch15: (fix by Paul Marquess <pmarquess@rosebud.bfsec.bt.co.uk>)
  355. + ;# 
  356.   ;# Revision 2.9.1.1  92/07/25  12:39:08  ram
  357.   ;# patch1: swapped offsets for EET and WET (reported by Jost Krieger)
  358.   ;# 
  359. ***************
  360. *** 890,896 ****
  361.           return $token;
  362.       }
  363.       
  364. !     if (length($idvar) == 1 && $idvar =~ /a-zA-Z/) {
  365.           $idvar =~ tr/A-Z/a-z/;
  366.           if (defined($milzone{$idvar})) {
  367.               ($token, $yylval) = split(/,/,$milzone{$idvar});
  368. --- 894,900 ----
  369.           return $token;
  370.       }
  371.       
  372. !     if (length($idvar) == 1 && $idvar =~ /[a-zA-Z]/) {
  373.           $idvar =~ tr/A-Z/a-z/;
  374.           if (defined($milzone{$idvar})) {
  375.               ($token, $yylval) = split(/,/,$milzone{$idvar});
  376.  
  377. Index: agent/pl/filter.pl
  378. Prereq: 2.9.1.5
  379. *** agent/pl/filter.pl.old    Tue Jan 12 13:41:26 1993
  380. --- agent/pl/filter.pl    Tue Jan 12 13:41:27 1993
  381. ***************
  382. *** 1,4 ****
  383. ! ;# $Id: filter.pl,v 2.9.1.5 92/11/01 16:01:13 ram Exp $
  384.   ;#
  385.   ;#  Copyright (c) 1992, Raphael Manfredi
  386.   ;#
  387. --- 1,4 ----
  388. ! ;# $Id: filter.pl,v 2.9.1.6 93/01/12 13:13:12 ram Exp $
  389.   ;#
  390.   ;#  Copyright (c) 1992, Raphael Manfredi
  391.   ;#
  392. ***************
  393. *** 6,11 ****
  394. --- 6,14 ----
  395.   ;#  Licence as specified in the README file that comes with dist.
  396.   ;#
  397.   ;# $Log:    filter.pl,v $
  398. + ;# Revision 2.9.1.6  93/01/12  13:13:12  ram
  399. + ;# patch15: undocumented feature commented (WRITE may allow hooks)
  400. + ;# 
  401.   ;# Revision 2.9.1.5  92/11/01  16:01:13  ram
  402.   ;# patch11: space between command and '(' made optional for ONCE and SELECT
  403.   ;# patch11: (feature requested by Nigel Metheringham <nigelm@ohm.york.ac.uk>)
  404. ***************
  405. *** 583,588 ****
  406. --- 586,594 ----
  407.       if ($remove == $FOLDER_REMOVE) {
  408.           # Folder has to be removed before writting into it. However, if it
  409.           # is write protected, do not unlink it (save will fail later on anyway).
  410. +         # Note that this makes it a candidate for hooks via WRITE, if the
  411. +         # folder has its 'x' bit set with its 'w' bit cleared. This is an
  412. +         # undocumented feature however (WRITE is not supposed to trigger hooks).
  413.           unlink "$folder" if -f "$folder" && -w _;
  414.       }
  415.       local($mbox, $failed) = do save($folder);
  416.  
  417. Index: agent/mhook.SH
  418. Prereq: 2.9.1.1
  419. *** agent/mhook.SH.old    Tue Jan 12 13:40:57 1993
  420. --- agent/mhook.SH    Tue Jan 12 13:40:57 1993
  421. ***************
  422. *** 14,20 ****
  423.   esac
  424.   echo "Extracting agent/mhook (with variable substitutions)"
  425.   $spitshell >mhook <<!GROK!THIS!
  426. ! # feed this into perl
  427.       eval 'exec perl -S \$0 "\$@"'
  428.           if \$running_under_some_shell;
  429.   
  430. --- 14,20 ----
  431.   esac
  432.   echo "Extracting agent/mhook (with variable substitutions)"
  433.   $spitshell >mhook <<!GROK!THIS!
  434. ! $startperl
  435.       eval 'exec perl -S \$0 "\$@"'
  436.           if \$running_under_some_shell;
  437.   
  438. ***************
  439. *** 22,28 ****
  440.   # via the filter. Mine looks like this:
  441.   #   "|exec /users/ram/mail/filter >>/users/ram/.bak 2>&1"
  442.   
  443. ! # $Id: mhook.SH,v 2.9.1.1 92/08/26 12:44:48 ram Exp $
  444.   #
  445.   #  Copyright (c) 1991, 1992, Raphael Manfredi
  446.   #
  447. --- 22,28 ----
  448.   # via the filter. Mine looks like this:
  449.   #   "|exec /users/ram/mail/filter >>/users/ram/.bak 2>&1"
  450.   
  451. ! # $Id: mhook.SH,v 2.9.1.2 93/01/12 12:09:20 ram Exp $
  452.   #
  453.   #  Copyright (c) 1991, 1992, Raphael Manfredi
  454.   #
  455. ***************
  456. *** 30,35 ****
  457. --- 30,38 ----
  458.   #  Licence as specified in the README file that comes with dist.
  459.   #
  460.   # $Log:    mhook.SH,v $
  461. + # Revision 2.9.1.2  93/01/12  12:09:20  ram
  462. + # patch15: leading perl start up is now configured
  463. + # 
  464.   # Revision 2.9.1.1  92/08/26  12:44:48  ram
  465.   # patch8: created
  466.   # 
  467.  
  468. Index: agent/pl/dbr.pl
  469. Prereq: 2.9.1.3
  470. *** agent/pl/dbr.pl.old    Tue Jan 12 13:41:20 1993
  471. --- agent/pl/dbr.pl    Tue Jan 12 13:41:21 1993
  472. ***************
  473. *** 1,4 ****
  474. ! ;# $Id: dbr.pl,v 2.9.1.3 92/11/10 10:13:10 ram Exp $
  475.   ;#
  476.   ;#  Copyright (c) 1992, Raphael Manfredi
  477.   ;#
  478. --- 1,4 ----
  479. ! ;# $Id: dbr.pl,v 2.9.1.4 93/01/12 12:13:12 ram Exp $
  480.   ;#
  481.   ;#  Copyright (c) 1992, Raphael Manfredi
  482.   ;#
  483. ***************
  484. *** 6,11 ****
  485. --- 6,14 ----
  486.   ;#  Licence as specified in the README file that comes with dist.
  487.   ;#
  488.   ;# $Log:    dbr.pl,v $
  489. + ;# Revision 2.9.1.4  93/01/12  12:13:12  ram
  490. + ;# patch15: typo fix
  491. + ;# 
  492.   ;# Revision 2.9.1.3  92/11/10  10:13:10  ram
  493.   ;# patch12: unfortunate typo transformed all tags into UNKNOWN
  494.   ;# 
  495. ***************
  496. *** 241,247 ****
  497.       unless (@contents > 2) {            # Has at least . and ..
  498.           unless (rmdir($dir)) {            # Don't leave empty directories
  499.               &'add_log("SYSERR rmdir: $!") if $'loglvl;
  500. !             &'add_log("ERROR could not remove directory $file") if $'loglvl;
  501.           }
  502.       }
  503.   }
  504. --- 244,250 ----
  505.       unless (@contents > 2) {            # Has at least . and ..
  506.           unless (rmdir($dir)) {            # Don't leave empty directories
  507.               &'add_log("SYSERR rmdir: $!") if $'loglvl;
  508. !             &'add_log("ERROR could not remove directory $dir") if $'loglvl;
  509.           }
  510.       }
  511.   }
  512.  
  513. Index: agent/pl/context.pl
  514. Prereq: 2.9.1.1
  515. *** agent/pl/context.pl.old    Tue Jan 12 13:41:17 1993
  516. --- agent/pl/context.pl    Tue Jan 12 13:41:18 1993
  517. ***************
  518. *** 1,4 ****
  519. ! ;# $Id: context.pl,v 2.9.1.1 92/12/01 09:19:38 ram Exp $
  520.   ;#
  521.   ;#  Copyright (c) 1992, Raphael Manfredi
  522.   ;#
  523. --- 1,4 ----
  524. ! ;# $Id: context.pl,v 2.9.1.2 93/01/12 12:12:49 ram Exp $
  525.   ;#
  526.   ;#  Copyright (c) 1992, Raphael Manfredi
  527.   ;#
  528. ***************
  529. *** 6,11 ****
  530. --- 6,14 ----
  531.   ;#  Licence as specified in the README file that comes with dist.
  532.   ;#
  533.   ;# $Log:    context.pl,v $
  534. + ;# Revision 2.9.1.2  93/01/12  12:12:49  ram
  535. + ;# patch15: outdated locks checking now performed by &acs_rqst
  536. + ;# 
  537.   ;# Revision 2.9.1.1  92/12/01  09:19:38  ram
  538.   ;# patch13: remove context file lock when excessively old
  539.   ;# 
  540. ***************
  541. *** 66,72 ****
  542.   sub save {
  543.       require 'ctime.pl';
  544.       local($existed) = -f $cf'context;
  545. -     &'checklock($cf'context);                # Ensure no eternal locking
  546.       &'acs_rqst($cf'context) if $existed;    # Lock existing file
  547.       unless (open(CONTEXT, ">$cf'context")) {
  548.           &'add_log("ERROR cannot overwrite context file: $!") if $'loglvl > 1;
  549. --- 69,74 ----
  550.  
  551. Index: agent/mailpatch.SH
  552. Prereq: 2.9
  553. *** agent/mailpatch.SH.old    Tue Jan 12 13:40:54 1993
  554. --- agent/mailpatch.SH    Tue Jan 12 13:40:54 1993
  555. ***************
  556. *** 14,24 ****
  557.   esac
  558.   echo "Extracting agent/mailpatch (with variable substitutions)"
  559.   $spitshell >mailpatch <<!GROK!THIS!
  560. ! # feed this into perl
  561.       eval "exec perl -S \$0 \$*"
  562.           if \$running_under_some_shell;
  563.   
  564. ! # $Id: mailpatch.SH,v 2.9 92/07/14 16:49:00 ram Exp $
  565.   #
  566.   #  Copyright (c) 1991, 1992, Raphael Manfredi
  567.   #
  568. --- 14,24 ----
  569.   esac
  570.   echo "Extracting agent/mailpatch (with variable substitutions)"
  571.   $spitshell >mailpatch <<!GROK!THIS!
  572. ! $startperl
  573.       eval "exec perl -S \$0 \$*"
  574.           if \$running_under_some_shell;
  575.   
  576. ! # $Id: mailpatch.SH,v 2.9.1.1 93/01/12 12:09:15 ram Exp $
  577.   #
  578.   #  Copyright (c) 1991, 1992, Raphael Manfredi
  579.   #
  580. ***************
  581. *** 26,31 ****
  582. --- 26,34 ----
  583.   #  Licence as specified in the README file that comes with dist.
  584.   #
  585.   # $Log:    mailpatch.SH,v $
  586. + # Revision 2.9.1.1  93/01/12  12:09:15  ram
  587. + # patch15: leading perl start up is now configured
  588. + # 
  589.   # Revision 2.9  92/07/14  16:49:00  ram
  590.   # 3.0 beta baseline.
  591.   # 
  592.  
  593. Index: agent/mailhelp.SH
  594. Prereq: 2.9
  595. *** agent/mailhelp.SH.old    Tue Jan 12 13:40:49 1993
  596. --- agent/mailhelp.SH    Tue Jan 12 13:40:49 1993
  597. ***************
  598. *** 14,24 ****
  599.   esac
  600.   echo "Extracting agent/mailhelp (with variable substitutions)"
  601.   $spitshell >mailhelp <<!GROK!THIS!
  602. ! # feed this into perl
  603.       eval "exec perl -S \$0 \$*"
  604.           if \$running_under_some_shell;
  605.   
  606. ! # $Id: mailhelp.SH,v 2.9 92/07/14 16:48:54 ram Exp $
  607.   #
  608.   #  Copyright (c) 1991, 1992, Raphael Manfredi
  609.   #
  610. --- 14,24 ----
  611.   esac
  612.   echo "Extracting agent/mailhelp (with variable substitutions)"
  613.   $spitshell >mailhelp <<!GROK!THIS!
  614. ! $startperl
  615.       eval "exec perl -S \$0 \$*"
  616.           if \$running_under_some_shell;
  617.   
  618. ! # $Id: mailhelp.SH,v 2.9.1.1 93/01/12 12:09:00 ram Exp $
  619.   #
  620.   #  Copyright (c) 1991, 1992, Raphael Manfredi
  621.   #
  622. ***************
  623. *** 26,31 ****
  624. --- 26,34 ----
  625.   #  Licence as specified in the README file that comes with dist.
  626.   #
  627.   # $Log:    mailhelp.SH,v $
  628. + # Revision 2.9.1.1  93/01/12  12:09:00  ram
  629. + # patch15: leading perl start up is now configured
  630. + # 
  631.   # Revision 2.9  92/07/14  16:48:54  ram
  632.   # 3.0 beta baseline.
  633.   # 
  634.  
  635. Index: agent/maillist.SH
  636. Prereq: 2.9
  637. *** agent/maillist.SH.old    Tue Jan 12 13:40:51 1993
  638. --- agent/maillist.SH    Tue Jan 12 13:40:52 1993
  639. ***************
  640. *** 14,24 ****
  641.   esac
  642.   echo "Extracting agent/maillist (with variable substitutions)"
  643.   $spitshell >maillist <<!GROK!THIS!
  644. ! # feed this into perl
  645.       eval "exec perl -S \$0 \$*"
  646.           if \$running_under_some_shell;
  647.   
  648. ! # $Id: maillist.SH,v 2.9 92/07/14 16:48:57 ram Exp $
  649.   #
  650.   #  Copyright (c) 1991, 1992, Raphael Manfredi
  651.   #
  652. --- 14,24 ----
  653.   esac
  654.   echo "Extracting agent/maillist (with variable substitutions)"
  655.   $spitshell >maillist <<!GROK!THIS!
  656. ! $startperl
  657.       eval "exec perl -S \$0 \$*"
  658.           if \$running_under_some_shell;
  659.   
  660. ! # $Id: maillist.SH,v 2.9.1.1 93/01/12 12:09:08 ram Exp $
  661.   #
  662.   #  Copyright (c) 1991, 1992, Raphael Manfredi
  663.   #
  664. ***************
  665. *** 26,31 ****
  666. --- 26,34 ----
  667.   #  Licence as specified in the README file that comes with dist.
  668.   #
  669.   # $Log:    maillist.SH,v $
  670. + # Revision 2.9.1.1  93/01/12  12:09:08  ram
  671. + # patch15: leading perl start up is now configured
  672. + # 
  673.   # Revision 2.9  92/07/14  16:48:57  ram
  674.   # 3.0 beta baseline.
  675.   # 
  676.  
  677. Index: agent/maildist.SH
  678. Prereq: 2.9
  679. *** agent/maildist.SH.old    Tue Jan 12 13:40:46 1993
  680. --- agent/maildist.SH    Tue Jan 12 13:40:47 1993
  681. ***************
  682. *** 14,24 ****
  683.   esac
  684.   echo "Extracting agent/maildist (with variable substitutions)"
  685.   $spitshell >maildist <<!GROK!THIS!
  686. ! # feed this into perl
  687.       eval "exec perl -S \$0 \$*"
  688.           if \$running_under_some_shell;
  689.   
  690. ! # $Id: maildist.SH,v 2.9 92/07/14 16:48:51 ram Exp $
  691.   #
  692.   #  Copyright (c) 1991, 1992, Raphael Manfredi
  693.   #
  694. --- 14,24 ----
  695.   esac
  696.   echo "Extracting agent/maildist (with variable substitutions)"
  697.   $spitshell >maildist <<!GROK!THIS!
  698. ! $startperl
  699.       eval "exec perl -S \$0 \$*"
  700.           if \$running_under_some_shell;
  701.   
  702. ! # $Id: maildist.SH,v 2.9.1.1 93/01/12 12:08:51 ram Exp $
  703.   #
  704.   #  Copyright (c) 1991, 1992, Raphael Manfredi
  705.   #
  706. ***************
  707. *** 26,31 ****
  708. --- 26,34 ----
  709.   #  Licence as specified in the README file that comes with dist.
  710.   #
  711.   # $Log:    maildist.SH,v $
  712. + # Revision 2.9.1.1  93/01/12  12:08:51  ram
  713. + # patch15: leading perl start up is now configured
  714. + # 
  715.   # Revision 2.9  92/07/14  16:48:51  ram
  716.   # 3.0 beta baseline.
  717.   # 
  718.  
  719. Index: agent/examples/vacation
  720. *** agent/examples/vacation.old    Tue Jan 12 13:40:38 1993
  721. --- agent/examples/vacation    Tue Jan 12 13:40:38 1993
  722. ***************
  723. *** 1,14 ****
  724.   Subject: This is a recording... [Re: %R]
  725.   Organization: %o
  726.   
  727. ! [This is a recording -- Last revision was made on %T]
  728.   
  729.   Hello %N:
  730.   
  731.   I have received your message of %[Date], whose subject
  732. ! was "%s" and dropped it into %u's mailbox.
  733. ! I'll send you such an acknowledgment only once a day, unless your message is
  734. ! filtered into one of %u's mail folders, whose reading is delayed anyway.
  735.   (Your mail was received by a program, not by a person, in case you wonder.)
  736.   
  737.   %U told me:
  738. --- 1,13 ----
  739.   Subject: This is a recording... [Re: %R]
  740.   Organization: %o
  741.   
  742. ! [This is a recording -- Last revision was made on %T (month/day)]
  743.   
  744.   Hello %N:
  745.   
  746.   I have received your message of %[Date], whose subject
  747. ! was "%s" and dropped it into one
  748. ! of %u's mailbox. I will send you such an acknowledgment only once a day.
  749.   (Your mail was received by a program, not by a person, in case you wonder.)
  750.   
  751.   %U told me:
  752.  
  753. *** End of Patch 16 ***
  754. -- 
  755. Raphael Manfredi <ram@eiffel.com>
  756. Interactive Software Engineering Inc.
  757. 270 Storke Road, Suite #7                      / Tel +1 (805) 685-1006 \
  758. Goleta, California 93117, USA                  \ Fax +1 (805) 685-6869 /
  759.