From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.0 (X11; Linux i686; U;) Gecko/20020408
Description of problem:
If you run "mail" in a window with *exactly* 4 lines, and if you do have atleast
1 email in your inbox, mail will crash:
Mail version 8.1 6/6/93. Type ? for help.
"/var/spool/mail/jdhunt": 1 message 1 unread
Floating point exception
[jdhunt@huntj:jdhunt> echo $?
If your terminal window (xterm, aterm, Eterm) has 3 lines, or 5 lines, the
problem does not occur.
If your window has > 4 lines, setting "LINES=4" does not reproduce the problem.
The number of columns the window has is not relevant.
I am able to reproduce this problem consistently on 2 different RH7.3 boxes
running the same version of mail.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.ensure you have some email in /var/spool/mail/<user>
2.resize terminal emulator window to *exactly* 4 lines
Actual Results: mail command crashed with a floating point exception.
Expected Results: mail should have produced a summary line, 1 for each email in
my inbox, followed by a command prompt (line beginning with '& ').
James here again. Fedora Core 2 still has this problem.
"rpm -q mailx" returns, "mailx-8.1.1-32".
If it is any help, the Debian folk fixed this problem back in 2002.
Here's the bug report (#170784) I raised with them:
Thanks in advance,
Thank you for your notice.
The problem was fixed.
Solved with -40.