1998-10-10 04:29:27 +00:00
|
|
|
|
--- pine/newmail.c.orig Sat Aug 22 10:33:02 1998
|
|
|
|
|
+++ pine/newmail.c Tue Sep 22 19:22:59 1998
|
|
|
|
|
@@ -301,38 +301,28 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
ENVELOPE *e;
|
|
|
|
|
char subject[200], from[2*MAX_SCREEN_COLS],
|
|
|
|
|
intro[MAX_SCREEN_COLS+1];
|
|
|
|
|
- static char *carray[] = { "regarding",
|
|
|
|
|
- "concerning",
|
|
|
|
|
- "about",
|
|
|
|
|
- "as to",
|
|
|
|
|
- "as regards",
|
|
|
|
|
- "as respects",
|
|
|
|
|
- "in re",
|
|
|
|
|
- "re",
|
|
|
|
|
- "respecting",
|
|
|
|
|
- "in point of",
|
|
|
|
|
- "with regard to",
|
|
|
|
|
- "subject:"
|
|
|
|
|
+ static char *carray[] = { "<22><><EFBFBD><EFBFBD>",
|
|
|
|
|
+ "<22><><EFBFBD><EFBFBD>"
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
e = mail_fetchstructure(stream, max_num, NULL);
|
|
|
|
|
|
|
|
|
|
if(!folder) {
|
|
|
|
|
if(number > 1)
|
|
|
|
|
- sprintf(intro, "%ld new messages!", number);
|
|
|
|
|
+ sprintf(intro, "%ld <20>ʷs<CAB7>H<EFBFBD><48><EFBFBD>I", number);
|
|
|
|
|
else
|
|
|
|
|
- sprintf(intro, "New mail%s!",
|
|
|
|
|
- (e && address_is_us(e->to, ps_global)) ? " to you" : "");
|
|
|
|
|
+ sprintf(intro, "%s<>s<EFBFBD>H<EFBFBD>I",
|
|
|
|
|
+ (e && address_is_us(e->to, ps_global)) ? "<22>z<EFBFBD><7A>" : "");
|
1998-07-21 14:11:48 +00:00
|
|
|
|
}
|
1998-08-09 00:51:28 +00:00
|
|
|
|
else {
|
|
|
|
|
if(number > 1)
|
|
|
|
|
- sprintf(intro,"%ld messages saved to folder \"%s\"", number, folder);
|
|
|
|
|
+ sprintf(intro,"%ld <20>ʫH<CAAB><48><EFBFBD>Q<EFBFBD>s<EFBFBD>ܸ<EFBFBD><DCB8>ƧX \"%s\"", number, folder);
|
|
|
|
|
else
|
|
|
|
|
- sprintf(intro, "Mail saved to folder \"%s\"", folder);
|
|
|
|
|
+ sprintf(intro, "<22>H<EFBFBD><48><EFBFBD>Q<EFBFBD>s<EFBFBD>ܸ<EFBFBD><DCB8>ƧX \"%s\"", folder);
|
1998-07-21 14:11:48 +00:00
|
|
|
|
}
|
1998-02-02 14:34:45 +00:00
|
|
|
|
|
1998-08-09 00:51:28 +00:00
|
|
|
|
if(e && e->from){
|
|
|
|
|
- sprintf(from, " %srom ", (number > 1L) ? "Most recent f" : "F");
|
|
|
|
|
+ sprintf(from, "%s<><73>", (number > 1L) ? "<22>̪<EFBFBD><CCAA><EFBFBD>" : "<22><>");
|
|
|
|
|
if(e->from->personal)
|
|
|
|
|
istrncpy(from + ((number > 1L) ? 18 : 6),
|
|
|
|
|
(char *) rfc1522_decode((unsigned char *) tmp_20k_buf,
|
1998-10-10 04:29:27 +00:00
|
|
|
|
@@ -349,13 +339,13 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
|
|
|
|
if(number <= 1L) {
|
|
|
|
|
if(e && e->subject){
|
|
|
|
|
- sprintf(subject, " %s ", carray[(unsigned)random()%12]);
|
|
|
|
|
+ sprintf(subject, " %s ", carray[(unsigned)random()%2]);
|
|
|
|
|
istrncpy(subject + strlen(subject),
|
|
|
|
|
(char *) rfc1522_decode((unsigned char *) tmp_20k_buf,
|
|
|
|
|
e->subject, NULL), 100);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
- strcpy(subject, " with no subject");
|
|
|
|
|
+ strcpy(subject, " <20>S<EFBFBD><53><EFBFBD>D<EFBFBD>D");
|
|
|
|
|
|
|
|
|
|
if(!from[0])
|
|
|
|
|
subject[1] = toupper((unsigned char)subject[1]);
|