Lines Matching refs:message
53 static void print(register struct message *mp, FILE *obuf, int doign);
71 register struct message *mp;
80 mp = &message[curscreen * size];
81 if (mp >= &message[msgCount])
82 mp = &message[msgCount - size];
83 if (mp < &message[0])
84 mp = &message[0];
86 mesg = mp - &message[0];
87 if (dot != &message[n-1])
90 mp = message;
91 for (; mp < &message[msgCount]; mp++) {
184 * Print out the headlines for each message
185 * in the passed message list.
198 dot = &message[*ip - 1];
203 * Print out the header of a specific message.
210 struct message *mp;
220 mp = &message[mesg-1];
225 (subjline = hfield("message-status", mp, addone)) == NOSTR)
349 printf("%d\n", dot - &message[0] + 1);
424 register struct message *mp;
445 nlines += message[*ip - 1].m_lines;
464 mp = &message[mesg-1];
499 * Print the indicated message on standard output.
503 print(register struct message *mp, FILE *obuf, int doign)
506 if (value("quiet") == NOSTR && (!doign || !isign("message", 0)))
507 fprintf(obuf, "Message %2d:\n", mp - &message[0] + 1);
508 touch(mp - &message[0] + 1);
517 * Print the top so many lines of each desired message.
529 register struct message *mp;
544 mp = &message[mesg-1];
582 dot = &message[*ip-1];
599 dot = &message[*ip-1];