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?
> 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