where PAGER is set and where it is not.
@item STAT_PAGER
@itemx PAGER
+@cindex pager
When PSPP invokes an external pager, it uses the first of these that
is defined. There is a default pager only if the person who compiled
@itemx MORE
@itemx PAGER
@itemx WIDTH
-Currently not used.
@end table
+@cindex headers
+@cindex length
+@cindex listing
+@cindex more
+@cindex pager
+@cindex width
+
+
Logging subcommands affect logging of commands executed to external
files. These subcommands are
+Wed Jan 26 11:44:11 WST 2005 John Darrington <john@darrington.wattle.id.au>
+
+ * set.q: Affixed a fix to the previous fix such that we'll be OK now
+ whether or not PAGER is set.
+
Wed Jan 26 09:25:54 WST 2005 John Darrington <john@darrington.wattle.id.au>
* set.q: Copied the string produced by getenv("PAGER") thus avoiding
{
const char *pager = getenv ("STAT_PAGER");
- if (!pager)
- set_pager = xstrdup (getenv ("PAGER") );
+ if (!pager)
+ {
+ const char *p = getenv ("PAGER");
+
+ if ( p != NULL )
+ set_pager = xstrdup (p);
+ else
+ set_pager = 0;
+ }
+
if (pager)
set_pager = xstrdup (pager);