home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume24 / elm2.3patches / part04 < prev    next >
Encoding:
Internet Message Format  |  1991-03-05  |  24.3 KB

  1. Subject:  v24i028:  Elm mail system, release 2.3, patches, Part04/11
  2. Newsgroups: comp.sources.unix
  3. Approved: rsalz@uunet.UU.NET
  4. X-Checksum-Snefru: 2c00ac49 1260b968 c102eeaf d77c179d
  5.  
  6. Submitted-by: Syd Weinstein <syd@DSI.COM>
  7. Posting-number: Volume 24, Issue 28
  8. Archive-name: elm2.3patches/part04
  9.  
  10. Subject: elm 2.3 Patch #4
  11. Summary: This is an official patch for elm 2.3 system.  Please apply it.
  12. Priority: MEDIUM
  13.  
  14.  
  15. Some bug fixes plus the 8 bit support code and configuration support:
  16.  
  17. Fix encoding to encode lines that start with [ and are not
  18. valid Elm keywords.  It was confusing decode.
  19. ~From: Syd via a report from Lenny Tropiano
  20.  
  21. Add a new configuration internal variable to support
  22. remembering correctly hostcomp for Configure -d
  23. ~From: Chip Salzenberg
  24.  
  25. Make 8 bit work and add some better defaults to the
  26. configure script.
  27. ~From: Syd via patch idea from Robert Claeson <prc@erbe.se>
  28.  
  29. Fix typo in Instruct and Configure
  30. ~From: David Kozinn <monymsys!david>
  31.  
  32. Fix boundry check on argument count in fastmail
  33. ~From: Syd reported by Eric J. Peterson
  34.  
  35.  
  36. Fix:    From rn, say "| patch -p -N -d DIR", where DIR is your elm source
  37.     directory.  Outside of rn, say "cd DIR; patch -p -N <thisarticle".
  38.     If you don't have the patch program, apply the following by hand,
  39.     or get patch (version 2.0, latest patchlevel).
  40.  
  41.     After patching:
  42.         sh Configure
  43.         make
  44.         make install
  45.  
  46.     If patch indicates that patchlevel is the wrong version, you may need
  47.     to apply one or more previous patches, or the patch may already
  48.     have been applied.  See the patchlevel.h file to find out what has or
  49.     has not been applied.  In any event, don't continue with the patch.
  50.  
  51.     If you are missing previous patches they can be obtained from our:
  52.     archive server.
  53.  
  54.     Syd Weinstein
  55.     elm@DSI.COM
  56.  
  57.     The patches are available from the dsinc archive server
  58.     Send the following message to archive-server@DSI.COM for
  59.     a list of available patches:
  60.  
  61.     Subject: patch list
  62.     send index elm
  63.  
  64. Index: hdrs/patchlevel.h
  65. Prereq: 3
  66. *** ../elm2.3/hdrs/patchlevel.h    Thu Jun 21 23:59:55 1990
  67. --- hdrs/patchlevel.h    Fri Jun 22 00:10:55 1990
  68. ***************
  69. *** 1 ****
  70. ! #define PATCHLEVEL 3
  71. --- 1 ----
  72. ! #define PATCHLEVEL 4
  73.  
  74. Index: README
  75. *** ../elm2.3/README    Sat Apr 28 22:40:39 1990
  76. --- README    Tue Jun 26 20:33:26 1990
  77. ***************
  78. *** 20,26 ****
  79.   archive server.  Mail archive-server@DSI.COM for details on how to
  80.   use the archive server program.  Ask it for help.
  81.   
  82. ! Limitations/Problems you might encounter in installing Elm:
  83.   
  84.       On some Unix 5.3.2 systems, if only a runtime version of the
  85.   O/S has been installed, not all the include files exist for compiling
  86. --- 20,26 ----
  87.   archive server.  Mail archive-server@DSI.COM for details on how to
  88.   use the archive server program.  Ask it for help.
  89.   
  90. ! Limitations/Problems you might encounter in compiling and installing Elm:
  91.   
  92.       On some Unix 5.3.2 systems, if only a runtime version of the
  93.   O/S has been installed, not all the include files exist for compiling
  94. ***************
  95. *** 37,42 ****
  96. --- 37,46 ----
  97.       On SCO Xenix, if you are all mail is from user anonymous,
  98.   this is because the mail delivery agent should be
  99.   /usr/lib/mail/execmail instead of /usr/bin/rmail or /bin/rmail.
  100. +     On Next's it is necessary to answer -bsd for the
  101. + Any additional cc flags? question and -lsys_s for the
  102. + Any additional libraries? question within Configure.
  103.   
  104.       On some systems, especially those based on the AT&T Port to
  105.   286's the -O flag of the compiler produces improper code causing
  106.  
  107. Index: Instruct
  108. *** ../elm2.3/Instruct    Sat Jun  9 23:48:13 1990
  109. --- Instruct    Tue Jun 26 20:22:19 1990
  110. ***************
  111. *** 1,7 ****
  112.                   Instructions
  113.                   ------------
  114.   
  115. !                 Last Update: $Date: 90/06/09 21:17:05 $
  116.   
  117.   
  118.       This file contains instructions on how to create and install
  119. --- 1,7 ----
  120.                   Instructions
  121.                   ------------
  122.   
  123. !                 Last Update: $Date: 90/06/26 20:22:06 $
  124.   
  125.   
  126.       This file contains instructions on how to create and install
  127. ***************
  128. *** 51,57 ****
  129.   
  130.     answer        checkalias     filter         messages      printmail
  131.     arepdaemon    elm            frm            newalias      readmsg
  132. !   autoreply     fastmail       listalais      newmail
  133.   
  134.   next, you can install all the software on your system by;
  135.   
  136. --- 51,57 ----
  137.   
  138.     answer        checkalias     filter         messages      printmail
  139.     arepdaemon    elm            frm            newalias      readmsg
  140. !   autoreply     fastmail       listalias      newmail
  141.   
  142.   next, you can install all the software on your system by;
  143.   
  144.  
  145. Index: Patchlist
  146. *** ../elm2.3/Patchlist    Fri Jun 22 00:00:07 1990
  147. --- Patchlist    Tue Jun 26 20:45:38 1990
  148. ***************
  149. *** 1,3 ****
  150. --- 1,23 ----
  151. +     Elm 2.3 Patch 4 - 8 Bit Changes
  152. +     Tue Jun 26 20:45:13 EDT 1990 (Creation date, not posting date)
  153. + Fix encoding to encode lines that start with [ and are not
  154. + valid Elm keywords.  It was confusing decode.
  155. + From: Syd via a report from Lenny Tropiano
  156. + Add a new configuration internal variable to support
  157. + remembering correctly hostcomp for Configure -d
  158. + From: Chip Salzenberg
  159. + Make 8 bit work and add some better defaults to the
  160. + configure script.
  161. + From: Syd via patch idea from Robert Claeson <prc@erbe.se>
  162. + Fix typo in Instruct and Configure
  163. + From: David Kozinn <monymsys!david>
  164. + Fix boundry check on argument count in fastmail
  165. + From: Syd reported by Eric J. Peterson
  166.       Elm 2.3 Patch 3 - Release cleanup - Part III of III
  167.       Thu Jun 21 23:35:40 EDT 1990 (Creation date, not posting date)
  168.   Fix symbol for NO_XHEADER
  169.  
  170. Index: Configure
  171. Prereq: 4.1.1.5
  172. *** ../elm2.3/Configure    Thu Jun 21 23:59:57 1990
  173. --- Configure    Tue Jun 26 20:57:50 1990
  174. ***************
  175. *** 8,14 ****
  176.   # and edit it to reflect your system.  Some packages may include samples
  177.   # of config.h for certain machines, so you might look for one of those.)
  178.   #
  179. ! # $Header: /files/home/users/syd/elm.rel/RCS/Configure,v 4.1.1.5 90/06/21 23:31:37 syd Exp $
  180.   #
  181.   # Yes, you may rip this off to use in other distribution packages.
  182.   # (Note: this Configure script was generated automatically.  Rather than
  183. --- 8,14 ----
  184.   # and edit it to reflect your system.  Some packages may include samples
  185.   # of config.h for certain machines, so you might look for one of those.)
  186.   #
  187. ! # $Header: /files/home/users/syd/elm.rel/RCS/Configure,v 4.1.1.7 90/06/26 20:57:24 syd Exp $
  188.   #
  189.   # Yes, you may rip this off to use in other distribution packages.
  190.   # (Note: this Configure script was generated automatically.  Rather than
  191. ***************
  192. *** 53,59 ****
  193.   d_havetlib=''
  194.   termlib=''
  195.   d_mkdir=''
  196. - d_portable=''
  197.   d_rename=''
  198.   d_sigvec=''
  199.   d_sigvectr=''
  200. --- 53,58 ----
  201. ***************
  202. *** 130,136 ****
  203. --- 129,137 ----
  204.   make=''
  205.   date=''
  206.   csh=''
  207. + pmake=''
  208.   c_date=''
  209. + d_ascii=''
  210.   d_calendar=''
  211.   calendar=''
  212.   d_cuserid=''
  213. ***************
  214. *** 141,146 ****
  215. --- 142,148 ----
  216.   d_douname=''
  217.   d_phostname=''
  218.   d_host_comp=''
  219. + ign_hname=''
  220.   d_havedbm=''
  221.   dbm=''
  222.   d_index=''
  223. ***************
  224. *** 158,163 ****
  225. --- 160,166 ----
  226.   d_usedomain=''
  227.   d_nocheckvalid=''
  228.   d_pidcheck=''
  229. + d_portable=''
  230.   d_ptem=''
  231.   d_remlock=''
  232.   maxattempts=''
  233. ***************
  234. *** 212,217 ****
  235. --- 215,221 ----
  236.   rmttape=''
  237.   roff=''
  238.   tmpdir=''
  239. + use_pmake=''
  240.   xencf=''
  241.   xenlf=''
  242.   d_xenix=''
  243. ***************
  244. *** 258,264 ****
  245.   attrlist="$attrlist i186 __m88k__ m88k DGUX __DGUX__"
  246.   d_newshome="/usr/NeWS"
  247.   defvoidused=7
  248. ! pth="/usr/ucb /bin /usr/bin /usr/local /usr/local/bin /usr/lbin /usr/plx /usr/5bin /vol/local/bin /etc /usr/lib /lib /usr/local/lib /sys5.3/bin /sys5.3/usr/bin /bsd4.3/bin /bsd4.3/usr/bin /bsd4.3/usr/ucb /usr/convex /usr/mmdf/bin"
  249.   
  250.   : check for out bin directory
  251.   if test ! -d ../bin; then
  252. --- 262,268 ----
  253.   attrlist="$attrlist i186 __m88k__ m88k DGUX __DGUX__"
  254.   d_newshome="/usr/NeWS"
  255.   defvoidused=7
  256. ! pth="/usr/ucb /bin /usr/bin /usr/local /usr/local/bin /usr/lbin /usr/5bin /vol/local/bin /etc /usr/lib /lib /usr/local/lib /sys5.3/bin /sys5.3/usr/bin /bsd4.3/bin /bsd4.3/usr/bin /bsd4.3/usr/ucb /usr/convex /usr/mmdf/bin ${BSDBASE-/bsd}/usr/ucb ${BSDBASE-/bsd}/bin ${BSDBASE-/bsd}/usr/bin"
  257.   
  258.   : check for out bin directory
  259.   if test ! -d ../bin; then
  260. ***************
  261. *** 522,527 ****
  262. --- 526,532 ----
  263.   more
  264.   nroff
  265.   pg
  266. + pmake
  267.   pr
  268.   rmail
  269.   sendmail
  270. ***************
  271. *** 695,701 ****
  272.   
  273.   : see if date exists, if so, init c_date
  274.   if $test ! "x$date" = "x" ; then
  275. !     c_date=`$date`
  276.   else
  277.       c_date='date was unavailable at configuration'
  278.   fi
  279. --- 700,706 ----
  280.   
  281.   : see if date exists, if so, init c_date
  282.   if $test ! "x$date" = "x" ; then
  283. !     c_date=`LANGUAGE= $date`
  284.   else
  285.       c_date='date was unavailable at configuration'
  286.   fi
  287. ***************
  288. *** 836,842 ****
  289.   EOM
  290.   case "$mansrc" in
  291.   '')
  292. !     dflt=`loc . /usr/man/man1 /usr/man/mann /usr/man/manl /usr/man/local/man1 /usr/man/u_man/man1 /usr/man/man1 /usr/man/man.L`
  293.       ;;
  294.   *)  dflt="$mansrc"
  295.       ;;
  296. --- 841,847 ----
  297.   EOM
  298.   case "$mansrc" in
  299.   '')
  300. !     dflt=`loc . /usr/man/man1 /usr/man/mann /usr/man/manl /usr/man/local/man1 /usr/man/u_man/man1 /usr/man/l_man/man1 /usr/local/man/u_man/man1 /usr/local/man/l_man/man1 /usr/man/man1 /usr/man/man.L`
  301.       ;;
  302.   *)  dflt="$mansrc"
  303.       ;;
  304. ***************
  305. *** 1578,1583 ****
  306. --- 1583,1622 ----
  307.       calendar="$ans"
  308.   fi
  309.   
  310. + : check to see if the macros are 8 bit clean, ask the user
  311. + :
  312. + $cat <<EOM
  313. + Not all environments are restricted to the ASCII 7 bit character set.
  314. + For example, the ISO 8859/1 (Latin alphabet no. 1) character set,
  315. + consisting of 8 bits and 191 printable characters, is becoming
  316. + more and more common, especially in non-English speaking countries.
  317. + Unfortunately, not all isprint() functions or macros, which ELM
  318. + uses to determine whether a character is printable or not, will
  319. + handle non-ASCII (8 bit) characters properly.  It is suggested that you
  320. + start with this value configured to handle 8 bit characters correctly
  321. + and if there are problems with Elm aborting while displaying messages
  322. + that use extended character sets to reconfigure Elm to only display
  323. + 7 bit characters.
  324. + EOM
  325. + case "$d_ascii" in
  326. +     "$define")   dflt='n';;
  327. +     *)  dflt='y';;
  328. + esac
  329. + echo "  "
  330. + rp="Should Elm assume that isprint() won't break on non-ascii characters? [$dflt]"
  331. + $echo $n "$rp $c"
  332. + . myread
  333. + case "$ans" in
  334. +     y*) d_ascii="$undef";;
  335. +     *) d_ascii="$define";;
  336. + esac
  337.   : find out how to find out full name
  338.   echo " "
  339.   case "$d_berknames" in
  340. ***************
  341. *** 1860,1866 ****
  342.   : decide how portable to be
  343.   case "$d_portable" in
  344.   "$define") dflt=y;;
  345. ! *)    dflt=n;;
  346.   esac
  347.   $cat <<'EOH'
  348.    
  349. --- 1899,1911 ----
  350.   : decide how portable to be
  351.   case "$d_portable" in
  352.   "$define") dflt=y;;
  353. ! "$undef")  dflt=n;;
  354. ! *)       if $test "$d_nfs" = "$define" ; then
  355. !            dflt=y
  356. !        else
  357. !            dflt=n
  358. !        fi
  359. !        ;;
  360.   esac
  361.   $cat <<'EOH'
  362.    
  363. ***************
  364. *** 1966,1973 ****
  365.   
  366.   case "$d_douname$d_gethname" in
  367.   *define*)
  368. !     case "$d_host_comp" in
  369. !     "$define") dflt=y;;
  370.       *)  dflt=n;;
  371.       esac
  372.       cat <<EOM
  373. --- 2011,2022 ----
  374.   
  375.   case "$d_douname$d_gethname" in
  376.   *define*)
  377. !     case "$ign_hname" in
  378. !     '')    case "$d_host_comp" in
  379. !     "$define") dflt=y;;
  380. !     *)  dflt=n;;
  381. !     esac;;
  382. !     y)  dflt=y;;
  383.       *)  dflt=n;;
  384.       esac
  385.       cat <<EOM
  386. ***************
  387. *** 1979,1990 ****
  388.       $echo $n "$rp $c"
  389.       . myread
  390.       case "$ans" in
  391. !     y*) d_douname="$undef"
  392.       d_gethname="$undef"
  393.       d_host_comp="$define"
  394.       $echo $n "Okay... $c"
  395.       ;;
  396. !     *)
  397.       d_host_comp="$undef"
  398.       ;;
  399.       esac
  400. --- 2028,2040 ----
  401.       $echo $n "$rp $c"
  402.       . myread
  403.       case "$ans" in
  404. !     y*) ign_hname=y
  405. !     d_douname="$undef"
  406.       d_gethname="$undef"
  407.       d_host_comp="$define"
  408.       $echo $n "Okay... $c"
  409.       ;;
  410. !     *)    ign_hname=n
  411.       d_host_comp="$undef"
  412.       ;;
  413.       esac
  414. ***************
  415. *** 2334,2339 ****
  416. --- 2384,2391 ----
  417.   "$undef")  dflt=n;;
  418.   *)    if $test -f "$submit"; then
  419.           dflt=y
  420. +     else
  421. +         dflt=n
  422.       fi
  423.       ;;
  424.   esac
  425. ***************
  426. *** 2476,2482 ****
  427.   case "$d_notouchadd" in
  428.   "$define") dflt=n;;
  429.   "$undef")  dflt=y;;
  430. ! *)       dflt=y;;
  431.   esac
  432.   $cat <<EOM
  433.   
  434. --- 2528,2539 ----
  435.   case "$d_notouchadd" in
  436.   "$define") dflt=n;;
  437.   "$undef")  dflt=y;;
  438. ! *)       if $test "$d_internet" = "$define" ; then
  439. !            dflt=n
  440. !        else
  441. !            dflt=y
  442. !        fi
  443. !        ;;
  444.   esac
  445.   $cat <<EOM
  446.   
  447. ***************
  448. *** 2606,2612 ****
  449.   esac
  450.   $cat <<EOM
  451.    
  452. ! Some sites to not like to see the mail header "X-mailer:" in outgoing
  453.   messages.  If you choose, you may disable these headers.  However, it
  454.   is strongly urged to leave these headers in the mail to assist in
  455.   tracking down problems.
  456. --- 2663,2669 ----
  457.   esac
  458.   $cat <<EOM
  459.    
  460. ! Some sites do not like to see the mail header "X-mailer:" in outgoing
  461.   messages.  If you choose, you may disable these headers.  However, it
  462.   is strongly urged to leave these headers in the mail to assist in
  463.   tracking down problems.
  464. ***************
  465. *** 3109,3115 ****
  466.   case "$d_useembed" in
  467.   "$define")    dflt=y;;
  468.   "$undef")    dflt=n;;
  469. ! *)        dflt=n;;
  470.   esac
  471.   $cat <<EOM
  472.    
  473. --- 3166,3177 ----
  474.   case "$d_useembed" in
  475.   "$define")    dflt=y;;
  476.   "$undef")    dflt=n;;
  477. ! *)            if $test "$d_internet" = "$define" ; then
  478. !                 dflt=y
  479. !             else
  480. !                 dflt=n
  481. !             fi
  482. !             ;;
  483.   esac
  484.   $cat <<EOM
  485.    
  486. ***************
  487. *** 3727,3732 ****
  488. --- 3789,3820 ----
  489.       done
  490.   fi
  491.   
  492. + : if pmake exists, allow its use for parallel make
  493. +  
  494. + if $test -f "$pmake" ; then
  495. +     case "$use_pmake" in
  496. +     n)  dflt=n;;
  497. +     *)  dflt=y;;
  498. +     esac
  499. +     $cat <<EOM
  500. +  
  501. + The executable file pmake was found on this system.  Usually this
  502. + file indicates a parallel make, which executes much faster.  Should
  503. + this system use the pmake command as its make command?
  504. + EOM
  505. +     rp="Does this system use pmake as its make? [$dflt]"
  506. +     $echo $n "$rp $c"
  507. +     . myread
  508. +     case "$ans" in
  509. +     y*) use_pmake=y
  510. +         make="$pmake";;
  511. +     *)  use_pmake=n;;
  512. +     esac
  513. + else
  514. +     use_pmake=n
  515. + fi
  516.   echo " "
  517.   echo "End of configuration questions."
  518.   echo " "
  519. ***************
  520. *** 3757,3763 ****
  521.   d_havetlib='$d_havetlib'
  522.   termlib='$termlib'
  523.   d_mkdir='$d_mkdir'
  524. - d_portable='$d_portable'
  525.   d_rename='$d_rename'
  526.   d_sigvec='$d_sigvec'
  527.   d_sigvectr='$d_sigvectr'
  528. --- 3845,3850 ----
  529. ***************
  530. *** 3834,3840 ****
  531. --- 3921,3929 ----
  532.   make='$make'
  533.   date='$date'
  534.   csh='$csh'
  535. + pmake='$pmake'
  536.   c_date='$c_date'
  537. + d_ascii='$d_ascii'
  538.   d_calendar='$d_calendar'
  539.   calendar='$calendar'
  540.   d_cuserid='$d_cuserid'
  541. ***************
  542. *** 3845,3850 ****
  543. --- 3934,3940 ----
  544.   d_douname='$d_douname'
  545.   d_phostname='$d_phostname'
  546.   d_host_comp='$d_host_comp'
  547. + ign_hname='$ign_hname'
  548.   d_havedbm='$d_havedbm'
  549.   dbm='$dbm'
  550.   d_index='$d_index'
  551. ***************
  552. *** 3862,3867 ****
  553. --- 3952,3958 ----
  554.   d_usedomain='$d_usedomain'
  555.   d_nocheckvalid='$d_nocheckvalid'
  556.   d_pidcheck='$d_pidcheck'
  557. + d_portable='$d_portable'
  558.   d_ptem='$d_ptem'
  559.   d_remlock='$d_remlock'
  560.   maxattempts='$maxattempts'
  561. ***************
  562. *** 3916,3921 ****
  563. --- 4007,4013 ----
  564.   rmttape='$rmttape'
  565.   roff='$roff'
  566.   tmpdir='$tmpdir'
  567. + use_pmake='$use_pmake'
  568.   xencf='$xencf'
  569.   xenlf='$xenlf'
  570.   d_xenix='$d_xenix'
  571.  
  572. Index: config.h.SH
  573. *** ../elm2.3/config.h.SH    Sat Apr 28 22:40:54 1990
  574. --- config.h.SH    Tue Jun 26 20:40:44 1990
  575. ***************
  576. *** 74,87 ****
  577.    */
  578.   #$d_mkdir    MKDIR        /**/
  579.   
  580. - /* PORTABLE:
  581. -  *    This symbol, if defined, indicates to the C program that it should
  582. -  *    not assume that it is running on the machine it was compiled on.
  583. -  *    The program should be prepared to look up the host name, translate
  584. -  *    generic filenames, use PATH, etc.
  585. -  */
  586. - #$d_portable    PORTABLE    /**/
  587.   /* RENAME:
  588.    *    This symbol, if defined, indicates that the rename routine is available
  589.    *    to rename files.  Otherwise you should do the unlink(), link(), unlink()
  590. --- 74,79 ----
  591. ***************
  592. *** 179,184 ****
  593. --- 171,182 ----
  594.    */
  595.   #define        CONFIGURE_DATE    "$c_date"
  596.   
  597. + /* ASCII_CTYPE:
  598. +  *    This symbol, if defined, indicates that the ctype functions and
  599. +  *    macros are ascii specific and not 8 bit clean.
  600. +  */
  601. + #$d_ascii    ASCII_CTYPE    /**/
  602.   /* ENABLE_CALENDAR:
  603.    *    This symbol, if defined, indicates that the calendar feature
  604.    *    should be supported.
  605. ***************
  606. *** 325,330 ****
  607. --- 323,336 ----
  608.    *    check for an active pid.
  609.    */
  610.   #$d_pidcheck PIDCHECK        /**/
  611. + /* PORTABLE:
  612. +  *    This symbol, if defined, indicates to the C program that it should
  613. +  *    not assume that it is running on the machine it was compiled on.
  614. +  *    The program should be prepared to look up the host name, translate
  615. +  *    generic filenames, use PATH, etc.
  616. +  */
  617. + #$d_portable    PORTABLE    /**/
  618.   
  619.   /* PTEM:
  620.    *    This symbol, if defined, indicates that the sys/ptem.h include file is
  621.  
  622. Index: src/curses.c
  623. Prereq: 4.1.1.1
  624. *** ../elm2.3/src/curses.c    Tue Jun  5 22:02:37 1990
  625. --- src/curses.c    Tue Jun 26 20:09:50 1990
  626. ***************
  627. *** 1,8 ****
  628.   
  629. ! static char rcsid[] = "@(#)$Id: curses.c,v 4.1.1.1 90/06/05 21:05:22 syd Exp $";
  630.   
  631.   /*******************************************************************************
  632. !  *  The Elm Mail System  -  $Revision: 4.1.1.1 $   $State: Exp $
  633.    *
  634.    *             Copyright (c) 1986, 1987 Dave Taylor
  635.    *             Copyright (c) 1988, 1989, 1990 USENET Community Trust
  636. --- 1,8 ----
  637.   
  638. ! static char rcsid[] = "@(#)$Id: curses.c,v 4.1.1.2 90/06/26 20:09:09 syd Exp $";
  639.   
  640.   /*******************************************************************************
  641. !  *  The Elm Mail System  -  $Revision: 4.1.1.2 $   $State: Exp $
  642.    *
  643.    *             Copyright (c) 1986, 1987 Dave Taylor
  644.    *             Copyright (c) 1988, 1989, 1990 USENET Community Trust
  645. ***************
  646. *** 14,19 ****
  647. --- 14,23 ----
  648.    *
  649.    *******************************************************************************
  650.    * $Log:    curses.c,v $
  651. +  * Revision 4.1.1.2  90/06/26  20:09:09  syd
  652. +  * Add 8 bit support via ascii_ctype
  653. +  * From: Robert Claeson <prc@erbe.se>
  654. +  * 
  655.    * Revision 4.1.1.1  90/06/05  21:05:22  syd
  656.    * Fixes where src/curses.c attempts to set the screen size via the ioctl
  657.    * TIOCGWINSIZ if it exsists. It should only use the row or col size as
  658. ***************
  659. *** 690,696 ****
  660. --- 694,704 ----
  661.   
  662.       else {
  663.         /* if some kind of non-printable character change to a '?' */
  664. + #ifdef ASCII_CTYPE
  665.         if(!isascii(ch) || !isprint(ch))
  666. + #else
  667. +       if(!isprint(ch))
  668. + #endif
  669.           ch = '?';
  670.   
  671.         /* if we only have one column left, simulate automargins if
  672.  
  673. Index: src/mailmsg2.c
  674. Prereq: 4.1.1.3
  675. *** ../elm2.3/src/mailmsg2.c    Fri Jun 22 00:00:02 1990
  676. --- src/mailmsg2.c    Tue Jun 26 16:25:03 1990
  677. ***************
  678. *** 1,8 ****
  679.   
  680. ! static char rcsid[] = "@(#)$Id: mailmsg2.c,v 4.1.1.3 90/06/21 21:07:48 syd Exp $";
  681.   
  682.   /*******************************************************************************
  683. !  *  The Elm Mail System  -  $Revision: 4.1.1.3 $   $State: Exp $
  684.    *
  685.    *             Copyright (c) 1986, 1987 Dave Taylor
  686.    *             Copyright (c) 1988, 1989, 1990 USENET Community Trust
  687. --- 1,8 ----
  688.   
  689. ! static char rcsid[] = "@(#)$Id: mailmsg2.c,v 4.1.1.4 90/06/26 16:18:24 syd Exp $";
  690.   
  691.   /*******************************************************************************
  692. !  *  The Elm Mail System  -  $Revision: 4.1.1.4 $   $State: Exp $
  693.    *
  694.    *             Copyright (c) 1986, 1987 Dave Taylor
  695.    *             Copyright (c) 1988, 1989, 1990 USENET Community Trust
  696. ***************
  697. *** 14,19 ****
  698. --- 14,24 ----
  699.    *
  700.    *******************************************************************************
  701.    * $Log:    mailmsg2.c,v $
  702. +  * Revision 4.1.1.4  90/06/26  16:18:24  syd
  703. +  * Make it encode lines that are [...] if not one of the reserved lines.
  704. +  * It was messing up decoding
  705. +  * From: Syd via report from Lenny Tropiano
  706. +  * 
  707.    * Revision 4.1.1.3  90/06/21  21:07:48  syd
  708.    * Fix XHEAD define
  709.    * From: Syd
  710. ***************
  711. *** 803,808 ****
  712. --- 808,821 ----
  713.                 || (strncmp(buffer, DONT_SAVE2, strlen(DONT_SAVE2)) == 0)) {
  714.             if(copy) break;  /* saved copy doesn't want anything after this */
  715.             else continue;   /* next line? */
  716. +         }
  717. +         else if (crypted) {
  718. +           if (! gotten_key++)
  719. +             getkey(ON);
  720. +           else if (! encoded_lines)
  721. +             get_key_no_prompt();        /* reinitialize.. */
  722. +           encode(buffer);
  723. +           encoded_lines++;
  724.           }
  725.         }
  726.         else if (crypted) {
  727.  
  728. Index: src/newmbox.c
  729. Prereq: 4.1.1.1
  730. *** ../elm2.3/src/newmbox.c    Fri Jun 22 00:00:03 1990
  731. --- src/newmbox.c    Tue Jun 26 20:18:28 1990
  732. ***************
  733. *** 1,8 ****
  734.   
  735. ! static char rcsid[] = "@(#)$Id: newmbox.c,v 4.1.1.1 90/06/21 21:10:33 syd Exp $";
  736.   
  737.   /*******************************************************************************
  738. !  *  The Elm Mail System  -  $Revision: 4.1.1.1 $   $State: Exp $
  739.    *
  740.    *             Copyright (c) 1988, USENET Community Trust
  741.    *             Copyright (c) 1988, 1989, 1990 USENET Community Trust
  742. --- 1,8 ----
  743.   
  744. ! static char rcsid[] = "@(#)$Id: newmbox.c,v 4.1.1.2 90/06/26 20:18:06 syd Exp $";
  745.   
  746.   /*******************************************************************************
  747. !  *  The Elm Mail System  -  $Revision: 4.1.1.2 $   $State: Exp $
  748.    *
  749.    *             Copyright (c) 1988, USENET Community Trust
  750.    *             Copyright (c) 1988, 1989, 1990 USENET Community Trust
  751. ***************
  752. *** 14,19 ****
  753. --- 14,24 ----
  754.    *
  755.    *******************************************************************************
  756.    * $Log:    newmbox.c,v $
  757. +  * Revision 4.1.1.2  90/06/26  20:18:06  syd
  758. +  * Fix double word
  759. +  * From: Peter Kendell <pete@tcom.stc.co.uk>
  760. +  * 
  761. +  * 
  762.    * Revision 4.1.1.1  90/06/21  21:10:33  syd
  763.    * Add another fixed mailbox id
  764.    * From: Syd
  765. ***************
  766. *** 98,104 ****
  767.           Centerline(15,
  768.             "Hey! An instantiation of ELM is already reading this mail!");
  769.           Centerline(17,
  770. !           "If this is in error, then you'll need to save a copy of the");
  771.           Centerline(18, "the following file then remove it:");
  772.           Centerline(19, new_tempfile);
  773.           MoveCursor(LINES, 0);  /* so shell prompt upon exit is on newline */
  774. --- 103,109 ----
  775.           Centerline(15,
  776.             "Hey! An instantiation of ELM is already reading this mail!");
  777.           Centerline(17,
  778. !           "If this is in error, then you'll need to save a copy of");
  779.           Centerline(18, "the following file then remove it:");
  780.           Centerline(19, new_tempfile);
  781.           MoveCursor(LINES, 0);  /* so shell prompt upon exit is on newline */
  782.  
  783. Index: utils/fastmail.c
  784. Prereq: 4.1
  785. *** ../elm2.3/utils/fastmail.c    Sat Apr 28 22:44:40 1990
  786. --- utils/fastmail.c    Tue Jun 26 20:30:33 1990
  787. ***************
  788. *** 1,8 ****
  789.   
  790. ! static char rcsid[] = "@(#)$Id: fastmail.c,v 4.1 90/04/28 22:44:39 syd Exp $";
  791.   
  792.   /*******************************************************************************
  793. !  *  The Elm Mail System  -  $Revision: 4.1 $   $State: Exp $
  794.    *
  795.    *             Copyright (c) 1986, 1987 Dave Taylor
  796.    *             Copyright (c) 1988, 1989, 1990 USENET Community Trust
  797. --- 1,8 ----
  798.   
  799. ! static char rcsid[] = "@(#)$Id: fastmail.c,v 4.1.1.1 90/06/26 20:30:22 syd Exp $";
  800.   
  801.   /*******************************************************************************
  802. !  *  The Elm Mail System  -  $Revision: 4.1.1.1 $   $State: Exp $
  803.    *
  804.    *             Copyright (c) 1986, 1987 Dave Taylor
  805.    *             Copyright (c) 1988, 1989, 1990 USENET Community Trust
  806. ***************
  807. *** 14,19 ****
  808. --- 14,23 ----
  809.    *
  810.    *******************************************************************************
  811.    * $Log:    fastmail.c,v $
  812. +  * Revision 4.1.1.1  90/06/26  20:30:22  syd
  813. +  * Fix boundary check on argument count
  814. +  * From: Syd
  815. +  * 
  816.    * Revision 4.1  90/04/28  22:44:39  syd
  817.    * checkin of Elm 2.3 as of Release PL0
  818.    * 
  819. ***************
  820. *** 122,128 ****
  821.          }
  822.       }    
  823.   
  824. !     if (optind > argc) {
  825.         fprintf(stderr,"Usage: fastmail {args} filename address(es)\n");
  826.         fprintf(stderr, "   where {args} can be;\n");
  827.         fprintf(stderr,"\t-b bcc-list\n\t-c cc-list\n\t-d\n\t-f from-name\n");
  828. --- 126,132 ----
  829.          }
  830.       }    
  831.   
  832. !     if (optind >= argc) {
  833.         fprintf(stderr,"Usage: fastmail {args} filename address(es)\n");
  834.         fprintf(stderr, "   where {args} can be;\n");
  835.         fprintf(stderr,"\t-b bcc-list\n\t-c cc-list\n\t-d\n\t-f from-name\n");
  836. ***************
  837. *** 133,139 ****
  838.   
  839.       strcpy(filename, argv[optind++]);
  840.   
  841. !     if (optind > argc) {
  842.         fprintf(stderr,"Usage: fastmail {args} filename address(es)\n");
  843.         fprintf(stderr, "   where {args} can be;\n");
  844.         fprintf(stderr,"\t-b bcc-list\n\t-c cc-list\n\t-d\n\t-f from-name\n");
  845. --- 137,143 ----
  846.   
  847.       strcpy(filename, argv[optind++]);
  848.   
  849. !     if (optind >= argc) {
  850.         fprintf(stderr,"Usage: fastmail {args} filename address(es)\n");
  851.         fprintf(stderr, "   where {args} can be;\n");
  852.         fprintf(stderr,"\t-b bcc-list\n\t-c cc-list\n\t-d\n\t-f from-name\n");
  853.  
  854. -- 
  855. =====================================================================
  856. Sydney S. Weinstein, CDP, CCP                   Elm Coordinator
  857. Datacomp Systems, Inc.                          Voice: (215) 947-9900
  858. syd@DSI.COM or dsinc!syd                        FAX:   (215) 938-0235
  859.  
  860. exit 0 # Just in case...
  861.