On Sat, Mar 20, 2010 at 10:03:11AM -0700, Michael Elkins wrote: > On Fri, Mar 19, 2010 at 09:46:17AM -0600, Michael wrote: > > This is on an Slackware system. I only have root my regular user accounts. > > When I am finished writing an email, I get something similar at bottom of > > my mutt screen: > > Error running "vi '/tmp/mutt-MarahIII-1000-2799-33'"! > > > > I have tried using: > > set editor="/usr/bin/elvis" > > set editor="vi" > > set editor="/usr/bin/vi" > > and even commenting out the line all together. > > Is vi == elvis on your system? >
yes, sorry for not making that clear > > No matter what, I get the same "error". > > I check the /tmp directory and see the two mutt files and I think the error > > always relates to message no sent. > > > > Any help? > > What program/version is /bin/sh on your system? Mutt invokes the editor > as: > /bin/sh -c 'vi /tmp/foo' > > One thing you might try is to run that command via your shell and print > out the exit code (in bash you can echo $?). Normally this should be 0 > if no error occurred. > > me ran your command followed by echo $? and it returned a "1" fwiw- I just tried running this on openbsd and it returned the "0". Thanks for your help. Michael E. -- "Estimated amount of glucose used by an adult human brain each day, expressed in M&Ms: 250" - Harper's Index
