System: rn version 4.3 Patch #: 12 Priority: LOW Subject: Rnmail shouldn't ask editor if EDITOR or VISUAL defined >From: markb@cbosgd.UUCP (Mark Horton) Description: Pnews doesn't ask you for your editor if you have EDITOR or VISUAL defined. Rnmail should (shouldn't?) do likewise. Fix: From rn, say "| patch -d DIR", where DIR is your rn source directory. Outside of rn, say "cd DIR; patch Patch #: 12 Index: Rnmail.SH Prereq: 4.3.1.2 *** Rnmail.SH.old Mon May 20 16:26:20 1985 --- Rnmail.SH Mon May 20 16:26:27 1985 *************** *** 4,10 echo "Extracting Rnmail (with variable substitutions)" $spitshell >Rnmail <Rnmail <>${HOME-$LOGDIR}/dead.letter ; $echo saved in ${HOME-$LOGDIR}/dead.letter ; $rm -f $tmpart; exit" trap "$rescue" 1 trap : 2 ! tmp=h while $test "$tmp" = h ; do $echo $n "Editor [${VISUAL-${EDITOR-$defeditor}}]: $c" read tmp --- 176,189 ----- rescue="sleep 1; $cat $tmpart >>${HOME-$LOGDIR}/dead.letter ; $echo saved in ${HOME-$LOGDIR}/dead.letter ; $rm -f $tmpart; exit" trap "$rescue" 1 trap : 2 ! case "${VISUAL-${EDITOR-}}" in ! '') ! tmp=h ! ;; ! *) ! tmp='' ! ;; ! esac while $test "$tmp" = h ; do $echo $n "Editor [${VISUAL-${EDITOR-$defeditor}}]: $c" read tmp