Return to cmd1.c CVS log | Up to [local] / src / usr.bin / mail |
version 1.26, 2007/04/03 18:01:49 | version 1.27, 2008/07/15 19:13:25 | ||
---|---|---|---|
|
|
||
} | } | ||
if (page || nlines > (*cp ? atoi(cp) : realscreenheight)) { | if (page || nlines > (*cp ? atoi(cp) : realscreenheight)) { | ||
restoreterm = (tcgetattr(fileno(stdin), &tbuf) == 0); | restoreterm = (tcgetattr(fileno(stdin), &tbuf) == 0); | ||
obuf = Popen(value("PAGER"), "w"); | cp = value("PAGER"); | ||
obuf = Popen(cp, "w"); | |||
if (obuf == NULL) { | if (obuf == NULL) { | ||
warn("%s", cp); | warn("%s", cp); | ||
obuf = stdout; | obuf = stdout; |