[comp.mail.mush] Rnmush fix to recognize MAILRECORD

steed@techunix.BITNET (Ze'ev "Steed" Shtadler) (07/11/89)

It seems that the Rnmush script posted by Bart Schaefer a while ago
does not consider the MAILRECORD environment variable.  The original
Rnmail uses it to keep record of the replies.  It was very easy to add
it to Rnmush, and here are the diff's:

*** /tmp/,RCSt1006791   Mon Jul 10 19:43:56 1989
--- Rnmush      Mon Jul 10 19:42:55 1989
***************
*** 45,55 ****
  case $orgname in
  /*) orgname=`$cat $orgname` ;;
  esac

  # Use this line for mush 6.4
! #$echo set verify autoedit\; unset edit_hdrs > $start
  # Change to this line for mush 6.5
! $echo set edit_hdrs verify autoedit > $start

  headerfile=""
  case $# in
--- 45,56 ----
  case $orgname in
  /*) orgname=`$cat $orgname` ;;
  esac
+ mailrecord=${MAILRECORD+record="${MAILRECORD}"}

  # Use this line for mush 6.4
! #$echo set verify autoedit $mailrecord \; unset edit_hdrs > $start
  # Change to this line for mush 6.5
! $echo set edit_hdrs verify autoedit $mailrecord > $start

  headerfile=""
  case $# in

                                        Enjoy,
                                                Ze'ev.
--
Ze'ev Shtadler.                   ARPANET: steed%techunix.bitnet@cunyvm.cuny.edu
Computer Science Faculty,                UUCP: ...!psuvax1!techunix.bitnet!steed
Technion, Israel Institute of Technology,                 BITNET: steed@techunix
Haifa Israel                               Domain: steed@techunix.technion.ac.il
Phone (work): (+972) 4-294304     CSNET: steed%techunix.bitnet@csnet-relay.csnet