* Just invoke another "less" to display the help file.
* {{ This makes this function very simple, and makes changing the
* help file very easy, but it may present difficulties on
* (non-Unix) systems which do not supply the "system()" function. }}
helpfile
= find_helpfile();
error("Cannot find help file", NULL_PARG
);
putenv("LESS=-+v -+E -+s -mHPmHELP -- ?eEND -- Press g to see "
"it again:Press RETURN for more., or q when done ");
cmd
= (char *) ecalloc(strlen(helpfile
) + strlen(progname
) + 50,
sprintf(cmd
, "-%s %s", progname
, helpfile
);
sprintf(cmd
, "-%s -qVW4,4,76,23,Help %s", progname
, helpfile
);
cmd
= (char *) ecalloc(strlen(helpfile
) + strlen(progname
) + 150,
"-%s -m -H -+E -+s '-PmHELP -- ?eEND -- Press g to see it again:Press RETURN for more., or q when done ' %s",
error("End of help", NULL_PARG
);