#3595: problems suspending mutt when called from shell script
--------------------------+-------------------------------------------------
 Reporter:  blmassingill  |       Owner:  mutt-dev
     Type:  defect        |      Status:  new     
 Priority:  minor         |   Milestone:          
Component:  mutt          |     Version:  1.5.21  
 Keywords:                |  
--------------------------+-------------------------------------------------
 Things seem to go wrong when I invoke mutt from a shell script (in a
 terminal session on Linux) and then press control-Z to (try to) suspend
 both mutt and the script. The "suspend" part works fine and takes me back
 to the shell prompt, but when I type"fg" to try to resume mutt, strange
 things happen:  I have to type "fg" more than once to resume at all, and
 then mutt is in some strange mode in which it doesn't respond correctly to
 keyboard input (e.g., 'j' and 'k' are echoed but otherwise seem to have no
 effect). I can exit by typing 'q' or 'x' *twice*, or by pressing
 control-C. I have access to several different versions of mutt on
 different systems; 1.4.2 does *not* have this behavior, but mutt 1.5.20
 and 1.5.21 do.

 Sample shell script:

 #!/bin/sh
 echo "hello"
 mutt
 echo "goodbye"

 Not a showstopper but quite annoying.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3595>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to