I ran strace and this is the last screen that I could copy/paste:


                                                                 read(4, 
"livered-To:\nanchor 1 Content-Typ"..., 100) = 100
                                                                                
                                           read(4, "ontent-Description: 
X-Mailer: In"..., 100) = 100
                                     read(4, "o: User-Agent: Bcc: Fcc: 
Followu"..., 100) = 100
                                                                                
              read(4, "comment From\nfont keyword From\nm"..., 100) = 100
          read(4, ".pe...@tu-clausthal.de)\nlanguage"..., 100) = 100
                                                                    close(4)    
                            = 0
                                                                                
                               write(1, "\0337\r\33[K\0337\33[?
) = 32
      ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) 
= 0
lseek(3, 28672, SEEK_SET)               = 28672
write(3, "\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\""..., 2048) = 
2048
lseek(3, 24576, SEEK_SET)               = 24576
write(3, "ied?\" [MODIFIED]\")(!edited?\" [NO"..., 2048) = 2048
lseek(3, 18432, SEEK_SET)               = 18432
write(3, "\1\0\0\0\0\0\0\0\0\0\0\0\v\0\340\251Elvis messages\0\0"..., 2048) = 
2048
lseek(3, 22528, SEEK_SET)               = 22528
write(3, "\0\0\n\0003\7\37\0\f\0\340\0\1\0\0\0\0\0\0\0\0\0\0\0\0"..., 2048) = 
2048
lseek(3, 20480, SEEK_SET)               = 20480
write(3, "# This is a sample \"elvis.msg\" f"..., 2048) = 2048
lseek(3, 59392, SEEK_SET)               = 59392
write(3, "\2\0\0\0\0\0\0\0\0\0\0\0\0\0\21BElvis message qu"..., 2048) = 2048
lseek(3, 61440, SEEK_SET)               = 61440
write(3, "\1\0\0\0\0\0\0\0\0\0\0\0 \0\230TElvis custom ini"..., 2048) = 2048
lseek(3, 65536, SEEK_SET)               = 65536
write(3, "\0\0\37\0S\4,\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2048) = 
2048
lseek(3, 63488, SEEK_SET)               = 63488
write(3, "set ruler\nset showmatch\nset show"..., 2048) = 2048
lseek(3, 4096, SEEK_SET)                = 4096
write(3, "\1\0\0\0\0\0\0\0\0\0\0\0\"\0%3Elvis ex history"..., 2048) = 2048
lseek(3, 69632, SEEK_SET)               = 69632
write(3, "\0\0!\0\3\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2048) = 
2048
lseek(3, 55296, SEEK_SET)               = 55296
write(3, "reading /tmp/foo\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2048) = 2048
lseek(3, 67584, SEEK_SET)               = 67584
write(3, ":q\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2048) = 
2048
lseek(3, 57344, SEEK_SET)               = 57344
write(3, "\0\0\33\0\21\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2048) = 
2048
lseek(3, 53248, SEEK_SET)               = 53248
write(3, "\1\0\0\0\0\0\0\0\0\0\0\0\34\0\"./tmp/strace\0\0\0\0\0"..., 2048) = 
2048
lseek(3, 0, SEEK_SET)                   = 0
read(3, "\255\336\0\2\3\n\0\0\0\10\0\0\1\0\2\0\3\0\4\0\t\0\r\0\20"..., 2048) = 
2048
lseek(3, 0, SEEK_SET)                   = 0
write(3, "\255\336\0\2\0\0\0\0\0\10\0\0\1\0\2\0\3\0\4\0\t\0\r\0\20"..., 2048) = 
2048
close(3)                                = 0
unlink("/var/tmp/elvis1.ses")           = 0
exit_group(1)                           = ?
Process 2563 detached

> From: Dmitry Ulyanov <sillent1...@gmail.com>
> Subject: Re: vi and mutt problem
> To: mutt-users@mutt.org
> Date: Mon, 22 Mar 2010 23:17:33 +0300
> User-Agent: Mutt/1.5.20 (2009-06-14)
> 
> vi /tmp/foo correctly ending?
> if not, execute strace vi /tmp/foo and show output
> 
> -- 
> Best regards,
> Dmitry Ulyanov
> 
> Sat, Mar 20, 2010 at 12:39:07PM -0600, Michael ??????????????(??):
> > 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
> 
> ----- End forwarded message -----
> 
> -- 
> "Estimated amount of glucose used by an adult human brain each day,
> expressed in M&Ms: 250"
> 
> 
>  - Harper's Index

Reply via email to