Lines Matching refs:cp

100 	char linebuf[LINESIZE+1], *cp;
200 if ((cp = value("escape")) != NOSTR)
201 escape = *cp;
203 if ((cp = value("MAILX_HEAD")) != NOSTR) {
204 cpout( cp, obuf);
206 cpout( cp, stdout);
297 cp = &linebuf[strlen(linebuf)];
298 while (cp > linebuf &&
299 (isspace(cp[-1]) || cp[-1] == '\\'))
300 cp--;
301 *cp++ = ' ';
302 strcpy(cp, cp2);
305 cp = &linebuf[c-1];
306 while (cp > linebuf && isspace(*cp))
307 cp--;
308 *++cp = 0;
360 if (cp = value(c=='a' ? "sign":"Sign")) {
361 if (*cp)
362 cpout( cp, obuf);
364 if (*cp)
365 cpout( cp, stdout);
375 for (cp = &linebuf[2]; any(*cp, " \t"); cp++)
377 if (*cp)
378 cp = value(cp);
379 if (cp != NOSTR) {
380 if (*cp)
381 cpout(cp, obuf);
383 if (*cp)
384 cpout(cp, stdout);
406 if (cp = value("escape"))
407 escape = *cp;
459 cp = &linebuf[2];
460 while (any(*cp, " \t"))
461 cp++;
462 hp->h_subject = savestr(cp);
505 cp = &linebuf[2];
506 while (any(*cp, " \t"))
507 cp++;
508 if (*cp == '\0') {
512 if (*cp=='!') {
515 if ((fbuf = npopen(++cp, "r"))==NULL) {
522 cp = expand(cp);
523 if (cp == NOSTR)
525 if (isdir(cp)) {
526 printf(gettext("%s: directory\n"), cp);
529 if ((fbuf = fopen(cp, "r")) == NULL) {
530 perror(cp);
534 printf("\"%s\" ", cp);
565 cp = &linebuf[2];
566 while (any(*cp, " \t"))
567 cp++;
568 if (*cp == '\0') {
572 if ((cp = expand(cp)) == NOSTR)
576 exwrite(cp, ibuf);
595 cp = &linebuf[2];
596 while (any(*cp, " \t"))
597 cp++;
598 if (forward(cp, obuf, c) < 0)
631 if (intty && outtty && (cp = value("crt")) != NOSTR) {
633 (*cp == '\0' ? screensize() : atoi(cp)) - 7;
699 if ((cp = value("MAILX_TAIL")) != NOSTR) {
700 cpout( cp, obuf);
702 cpout( cp, stdout);
1273 register char *cp, *cp2, *linebuf;
1283 for (cp = news; any(*cp, " \t"); cp++)
1285 while (*cp != '\0')
1286 *cp2++ = *cp++;
1331 register char *cp = str;
1333 while (*cp) {
1334 if (*cp == '\\') {
1335 switch (*(cp+1)) {
1338 cp++;
1342 cp++;
1348 putc(*cp, ofd);
1350 cp++;