#3760: mutt without TERM causes CPU hog ----------------------------------+---------------------- Reporter: lpb612 | Owner: mutt-dev Type: defect | Status: new Priority: major | Milestone: Component: display | Version: 1.5.23 Keywords: TERM, CPU, batchmode | ----------------------------------+---------------------- Running mutt in "batch" mode, when TERM is not set, causes mutt to run at about 100% CPU time.
To reproduce: 1) unset TERM 2) mutt -s "subject" em...@address.com < /dev/null Additional information mutt -v produces: Mutt 1.5.23+89 (0255b37be491) (2014-03-12) Copyright (C) 1996-2009 Michael R. Elkins and others. Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'. Mutt is free software, and you are welcome to redistribute it under certain conditions; type `mutt -vv' for details. System: Linux 4.0.4-2-ARCH (x86_64) ncurses: ncurses 5.9.20110404 (compiled with 5.9) libidn: 1.30 (compiled with 1.30) hcache backend: GDBM version 1.11. 25/12/2013 (built Jan 7 2014 19:25:42) mutt -d5 produces nothing (the log file is not written before/after the process is killed). -- Ticket URL: <http://dev.mutt.org/trac/ticket/3760> Mutt <http://www.mutt.org/> The Mutt mail user agent