Antonio Radici wrote:
> On Mon, Mar 14, 2011 at 09:10:31PM -0500, Jonathan Nieder wrote:
>> I was sending a 16 MiB attachment and then decided that was a bad
>> idea. So I hit ^C. The status bar says:
>
> Does hitting ^G change anything?
Unlike ^C, ^G does nothing at all.
To recap:
0. configure mutt to use IMAP over SSL
1. make a 16 MiB file
2. hit "m" to compose a message
3. to: yourself.
4. Subject: some boring subject.
5. Text: some boring text.
6. Attach the file.
7. hit "y" to send.
Sending takes a while, naturally, so it shows progress as a fraction
of the size of the file. To reproduce the bug, act impatient.
A. If you try to interrupt it with ^G, nothing happens (should
something happen?). It just continues.
B. If you try to interrupt it with ^C, it stops and sits there.
C. If you try to get it going again with ^G, nothing happens.
D. If you attach with strace, you see that recv returns with
ERESTARTSYS each time you hit ^C.
E. If you attach with gdb, you can recover by forcing recv to
return.
Probably there is a SIGINT handler with the SA_RESTART flag set.
Hope that helps,
Jonathan
$ cat ~/.mutt/muttrc
set smtp_url=smtps://[email protected]@smtp.gmail.com/
set folder=imaps://[email protected]@imap.gmail.com/
set spoolfile==INBOX
set header_cache=~/.mutt/cache/headers
set message_cachedir=~/.mutt/cache/bodies
set certificate_file=~/.mutt/certificates
set pgp_auto_decode
set move=no
set mime_forward=yes
set mime_forward_rest=yes
set tmpdir=~/.mutt/tmp
set send_charset=us-ascii:utf-8
set noallow_8bit
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]