Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-lcc!lll-tis!ames!ucbcad!ucbvax!hplabs!hplabsc!daemon From: okamoto@hpccc.hp.com (Jeff Okamoto) Newsgroups: comp.mail.elm Subject: More elm fixes Message-ID: <1954@hplabsc.HP.COM> Date: Sat, 6-Jun-87 05:45:57 EDT Article-I.D.: hplabsc.1954 Posted: Sat Jun 6 05:45:57 1987 Date-Received: Wed, 10-Jun-87 04:04:23 EDT Sender: daemon@hplabsc.HP.COM Reply-To: uucp@ucbvax.Berkeley.EDU (Jeff Okamoto) Organization: Corporate Computing Center Lines: 70 Approved: taylor@hplabs (with 'postmail') Two bugs that have been found and fixed: 1. If you have both keypad and softkeys turned off, elm will still try to turn the softkeys on. This was traced to a bug in src/initialize.c. 2. If you limit your mailbox to any category (say, from X), and then turn off the limit, the header line is redrawn, but not the message headers themselves. This was traced to a bug in src/elm.c. I have enclosed patches at the end of this message for these two bugs. Two bugs that I have found, but not been able to track down or fix. 1. If you have more than 10 messages in the mailbox, and have movepage turned off, goto message 11, hit -, then hit k. Surprise! Message 11 has now overwritten message 1 on the menu. 2. If you use the builtin pager, and have a message that has exactly one more line when you get the "hit space to continue" prompt, then the "Press any key to return to Elm" line will overwrite the last line of the message (16 lines for 24-line screens should exhibit this error). *** src/initialize.c.o Wed Jun 3 09:27:37 1987 --- src/initialize.c Mon Jun 1 14:43:49 1987 *************** *** 207,213 cursor_control = FALSE; ! if ((cp = return_value_of("ku")) != NULL) if (strlen(cp) == 2) { strcpy(up, cp); if ((cp = return_value_of("kd")) == NULL) --- 207,213 ----- cursor_control = FALSE; ! if (hp_terminal && ((cp = return_value_of("ku")) != NULL)) if (strlen(cp) == 2) { strcpy(up, cp); if ((cp = return_value_of("kd")) == NULL) *** src/elm.c.orig Wed Jun 3 08:37:28 1987 --- src/elm.c Wed Jun 3 09:17:26 1987 *************** *** 305,310 } else nufoot++; break; case 'm' : PutLine0(LINES-3, strlen("Command: "), "Mail"); --- 305,311 ----- } else nufoot++; + redraw++; break; case 'm' : PutLine0(LINES-3, strlen("Command: "), "Mail"); ------ The New Number Who, hpccc!okamoto@hplabs.hp.com Jeff Okamoto ..!hplabs!hpccc!okamoto