Lines Matching refs:message
57 static void print(register struct message *mp, FILE *obuf, int doign);
75 register struct message *mp;
84 mp = &message[curscreen * size];
85 if (mp >= &message[msgCount])
86 mp = &message[msgCount - size];
87 if (mp < &message[0])
88 mp = &message[0];
90 mesg = mp - &message[0];
91 if (dot != &message[n-1])
94 mp = message;
95 for (; mp < &message[msgCount]; mp++) {
188 * Print out the headlines for each message
189 * in the passed message list.
202 dot = &message[*ip - 1];
207 * Print out the header of a specific message.
214 struct message *mp;
228 mp = &message[mesg-1];
233 (subjline = hfield("message-status", mp, addone)) == NOSTR)
365 printf("%d\n", dot - &message[0] + 1);
440 register struct message *mp;
461 nlines += message[*ip - 1].m_lines;
480 mp = &message[mesg-1];
515 * Print the indicated message on standard output.
519 print(register struct message *mp, FILE *obuf, int doign)
522 if (value("quiet") == NOSTR && (!doign || !isign("message", 0)))
523 fprintf(obuf, "Message %2d:\n", mp - &message[0] + 1);
524 touch(mp - &message[0] + 1);
533 * Print the top so many lines of each desired message.
545 register struct message *mp;
560 mp = &message[mesg-1];
598 dot = &message[*ip-1];
615 dot = &message[*ip-1];