#1638: Fails silently if $EDITOR fails Changes (by brendan):
* component: mutt => display Old description: > {{{ > Package: mutt > Version: ? > Severity: normal > > [NOTE: this bug report has been submitted to the debian BTS as > Bug#209244. > Please Cc all your replies to [EMAIL PROTECTED] .] > > From: Matt Zimmerman <[EMAIL PROTECTED]> > Subject: Fails silently if $EDITOR fails > Date: Mon, 8 Sep 2003 12:45:11 -0400 > > --HcAYCG3uE/tztfnV > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > > Package: mutt > Version: 1.5.4+20030817-1 > Severity: normal > > If $EDITOR fails, an error message is printed, but there is no pause > before > the screen is redrawn, so it passes unnoticed, and the user is dumped > back > to a command prompt with no error message. > > typescript attached. > > -- System Information: > Debian Release: testing/unstable > Architecture: i386 > Kernel: Linux there 2.6.0-test1 #16 SMP Mon Jul 14 16:39:13 EDT 2003 i686 > Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to en_US) > > Versions of packages mutt depends on: > ii exim4-daemon-light [mail- 4.22-4 Lightweight version of the > Exim (v > ii libc6 2.3.2-5 GNU C Library: Shared > libraries an > ii libidn9 0.1.14-2 GNU libidn library, > implementation > ii libncurses5 5.3.20030719-2 Shared libraries for > terminal hand > ii libsasl2 2.1.15-5 Authentication abstraction > library > > -- no debconf information > > -- > - mdz > > --HcAYCG3uE/tztfnV > Content-Type: application/octet-stream > Content-Disposition: attachment; filename=mutt > Content-Transfer-Encoding: quoted-printable > > Script started on Mon 08 Sep 2003 12:43:23 PM > EDT=0A=0D=1B[0m=1B[27m=1B[24m= > =1B[Jthere% =1B[KT=08TERM=3Dvt100 EDITOR=3Dnonexistent mutt -F /dev/null > fo= > o=0D=0D=0A=1B(B=1B)0=1B[1;24r=1B[m=0F=1B[?7h=1B[?1h=1B=3D=1B[24;1H=0D=1B[?1= > l=1B>=1B[1;24r=1B[m=0F=1B[?7h=1B[H=1B[J=1B[23BTo: > foo=1B[?1h=1B=3D=0DSubjec= > t: foo=0D=1B[J=1B[24;1H=0D=1B[?1l=1B>sh: line 1: nonexistent: command not > f= > ound=0D=0A=1B[?1h=1B=3D=1B[?1h=1B=3D=1B[1;24r=1B[m=0F=1B[?7h=1B[H=1B[J=1B[2= > 3BAborted unmodified > message.=0D=1B[J=1B[24;1H=0D=1B[?1l=1B>=0D=1B[0m=1B[27= > m=1B[24m=1B[Jthere% =1B[K=0D=0D=0A=0AScript done on Mon 08 Sep 2003 > 12:43:2= > 9 PM EDT=0A > --HcAYCG3uE/tztfnV-- > > > > >How-To-Repeat: > > >Fix: > }}} New description: {{{ From: Matt Zimmerman <[EMAIL PROTECTED]> Subject: Fails silently if $EDITOR fails Date: Mon, 8 Sep 2003 12:45:11 -0400 }}} If $EDITOR fails, an error message is printed, but there is no pause before the screen is redrawn, so it passes unnoticed, and the user is dumped back to a command prompt with no error message. typescript attached. {{{ Script started on Mon 08 Sep 2003 12:43:23 PM EDT=0A=0D=1B[0m=1B[27m=1B[24m= =1B[Jthere% =1B[KT=08TERM=3Dvt100 EDITOR=3Dnonexistent mutt -F /dev/null fo= o=0D=0D=0A=1B(B=1B)0=1B[1;24r=1B[m=0F=1B[?7h=1B[?1h=1B=3D=1B[24;1H=0D=1B[?1= l=1B>=1B[1;24r=1B[m=0F=1B[?7h=1B[H=1B[J=1B[23BTo: foo=1B[?1h=1B=3D=0DSubjec= t: foo=0D=1B[J=1B[24;1H=0D=1B[?1l=1B>sh: line 1: nonexistent: command not f= ound=0D=0A=1B[?1h=1B=3D=1B[?1h=1B=3D=1B[1;24r=1B[m=0F=1B[?7h=1B[H=1B[J=1B[2= 3BAborted unmodified message.=0D=1B[J=1B[24;1H=0D=1B[?1l=1B>=0D=1B[0m=1B[27= m=1B[24m=1B[Jthere% =1B[K=0D=0D=0A=0AScript done on Mon 08 Sep 2003 12:43:2= 9 PM EDT=0A }}} -- Ticket URL: <http://dev.mutt.org/trac/ticket/1638#comment:1>