I found the problem. I had an .exrc file. I renamed it and vi ran with no problems. I even set my mutt editor as vi, created and sent an email, and again, no problems. All is well now :)
Thanks to all for your help, but also sorry for the noise since it wasn't mutt related at all. Michael E. On Fri, Mar 26, 2010 at 12:22:13PM -0600, Michael wrote: > On Fri, Mar 26, 2010 at 09:04:33AM -0700, Michael Elkins wrote: > > On Fri, Mar 26, 2010 at 09:54:26AM -0600, Michael wrote: > > > I ran strace and this is the last screen that I could copy/paste: > > > ... > > > exit_group(1) = ? > > > > Mutt is reporting an error occured because the proces is exiting with > > status code 1 instead of 0. You'd have to figure out why the editor is > > doing that. > > > > As a temporarily workaround if you are certain that Elvis is working > > properly, you could create a wrapper shell script which will return 0 > > and have Mutt use the script instead of directly invoking Elvis. > > > > me > > Thanks Michael. > Well, I just thought of something else to try and this is what I did: > since (in Slackware) vi is linked to elvis, I used vim to create a file in > /tmp. > I then ran "echo $?" and it returned 0. > I then set my editor to vim in my .muttrc and created and sent a message > using vim. > No problems whatsoever. Problem is with user/elvis and not with mutt :) > > Thanks to all for your help. I'll ask help on the Slackware forums and if > anybody cares, I'll post the "fix". > > Michael E. > > -- > "Estimated amount of glucose used by an adult human brain each day, > expressed in M&Ms: 250" > > > - Harper's Index -- "Estimated amount of glucose used by an adult human brain each day, expressed in M&Ms: 250" - Harper's Index