HomeSort by: relevance | last modified time | path
    Searched defs:pager (Results 1 - 25 of 40) sorted by relevancy

1 2

  /src/external/bsd/ntp/dist/sntp/libopts/
pgusage.c 13 * This routine will run run-on options through a pager so the
80 char const * pager = (char const *)getenv(PAGER_NAME); local
85 * Use the "more(1)" program if "PAGER" has not been defined
87 if (pager == NULL)
88 pager = MORE_STR;
90 bfsz = 2 * strlen(fname) + strlen(pager) + PAGE_USAGE_FMT_LEN;
92 snprintf(res, bfsz, PAGE_USAGE_FMT, pager, fname);
102 * what: emit help text and pass through a pager program.
107 * Run the usage output through a pager.
126 * THEN invoke the pager to page through the usage file we created
    [all...]
pgusage.c 13 * This routine will run run-on options through a pager so the
80 char const * pager = (char const *)getenv(PAGER_NAME); local
85 * Use the "more(1)" program if "PAGER" has not been defined
87 if (pager == NULL)
88 pager = MORE_STR;
90 bfsz = 2 * strlen(fname) + strlen(pager) + PAGE_USAGE_FMT_LEN;
92 snprintf(res, bfsz, PAGE_USAGE_FMT, pager, fname);
102 * what: emit help text and pass through a pager program.
107 * Run the usage output through a pager.
126 * THEN invoke the pager to page through the usage file we created
    [all...]
pgusage.c 13 * This routine will run run-on options through a pager so the
80 char const * pager = (char const *)getenv(PAGER_NAME); local
85 * Use the "more(1)" program if "PAGER" has not been defined
87 if (pager == NULL)
88 pager = MORE_STR;
90 bfsz = 2 * strlen(fname) + strlen(pager) + PAGE_USAGE_FMT_LEN;
92 snprintf(res, bfsz, PAGE_USAGE_FMT, pager, fname);
102 * what: emit help text and pass through a pager program.
107 * Run the usage output through a pager.
126 * THEN invoke the pager to page through the usage file we created
    [all...]
pgusage.c 13 * This routine will run run-on options through a pager so the
80 char const * pager = (char const *)getenv(PAGER_NAME); local
85 * Use the "more(1)" program if "PAGER" has not been defined
87 if (pager == NULL)
88 pager = MORE_STR;
90 bfsz = 2 * strlen(fname) + strlen(pager) + PAGE_USAGE_FMT_LEN;
92 snprintf(res, bfsz, PAGE_USAGE_FMT, pager, fname);
102 * what: emit help text and pass through a pager program.
107 * Run the usage output through a pager.
126 * THEN invoke the pager to page through the usage file we created
    [all...]
  /src/games/quiz/
quiz.c 163 const char *pager; local
166 pager = "cat";
168 if (!(pager = getenv("PAGER")) || (*pager == 0))
169 pager = _PATH_PAGER;
171 if ((pf = popen(pager, "w")) == NULL)
172 err(1, "%s", pager);
quiz.c 163 const char *pager; local
166 pager = "cat";
168 if (!(pager = getenv("PAGER")) || (*pager == 0))
169 pager = _PATH_PAGER;
171 if ((pf = popen(pager, "w")) == NULL)
172 err(1, "%s", pager);
quiz.c 163 const char *pager; local
166 pager = "cat";
168 if (!(pager = getenv("PAGER")) || (*pager == 0))
169 pager = _PATH_PAGER;
171 if ((pf = popen(pager, "w")) == NULL)
172 err(1, "%s", pager);
quiz.c 163 const char *pager; local
166 pager = "cat";
168 if (!(pager = getenv("PAGER")) || (*pager == 0))
169 pager = _PATH_PAGER;
171 if ((pf = popen(pager, "w")) == NULL)
172 err(1, "%s", pager);
  /src/games/fish/
fish.c 438 const char *pager; local
455 pager = "cat";
457 if (!(pager = getenv("PAGER")) || (*pager == 0))
458 pager = _PATH_MORE;
464 (void)execl("/bin/sh", "sh", "-c", pager, (char *) NULL);
465 err(1, "exec sh -c %s", pager);
fish.c 438 const char *pager; local
455 pager = "cat";
457 if (!(pager = getenv("PAGER")) || (*pager == 0))
458 pager = _PATH_MORE;
464 (void)execl("/bin/sh", "sh", "-c", pager, (char *) NULL);
465 err(1, "exec sh -c %s", pager);
fish.c 438 const char *pager; local
455 pager = "cat";
457 if (!(pager = getenv("PAGER")) || (*pager == 0))
458 pager = _PATH_MORE;
464 (void)execl("/bin/sh", "sh", "-c", pager, (char *) NULL);
465 err(1, "exec sh -c %s", pager);
fish.c 438 const char *pager; local
455 pager = "cat";
457 if (!(pager = getenv("PAGER")) || (*pager == 0))
458 pager = _PATH_MORE;
464 (void)execl("/bin/sh", "sh", "-c", pager, (char *) NULL);
465 err(1, "exec sh -c %s", pager);
  /src/usr.sbin/makemandb/
apropos.c 49 int pager; member in struct:apropos_flags
126 case 'p': // user wants a pager
127 aflags->pager = 1;
223 if (aflags.pager) {
224 const char *pager = getenv("PAGER"); local
225 if (pager == NULL)
226 pager = _PATH_PAGER;
231 /* Open a pipe to the pager */
232 if ((cbdata.out = popen(pager, "w")) == NULL)
    [all...]
apropos.c 49 int pager; member in struct:apropos_flags
126 case 'p': // user wants a pager
127 aflags->pager = 1;
223 if (aflags.pager) {
224 const char *pager = getenv("PAGER"); local
225 if (pager == NULL)
226 pager = _PATH_PAGER;
231 /* Open a pipe to the pager */
232 if ((cbdata.out = popen(pager, "w")) == NULL)
    [all...]
apropos.c 49 int pager; member in struct:apropos_flags
126 case 'p': // user wants a pager
127 aflags->pager = 1;
223 if (aflags.pager) {
224 const char *pager = getenv("PAGER"); local
225 if (pager == NULL)
226 pager = _PATH_PAGER;
231 /* Open a pipe to the pager */
232 if ((cbdata.out = popen(pager, "w")) == NULL)
    [all...]
apropos.c 49 int pager; member in struct:apropos_flags
126 case 'p': // user wants a pager
127 aflags->pager = 1;
223 if (aflags.pager) {
224 const char *pager = getenv("PAGER"); local
225 if (pager == NULL)
226 pager = _PATH_PAGER;
231 /* Open a pipe to the pager */
232 if ((cbdata.out = popen(pager, "w")) == NULL)
    [all...]
  /src/games/wump/
wump.c 746 const char *pager; local
766 pager = "cat";
768 if (!(pager = getenv("PAGER")) || (*pager == 0))
769 pager = _PATH_PAGER;
777 (void)execl("/bin/sh", "sh", "-c", pager, (char *) NULL);
778 err(1, "exec sh -c %s", pager);
wump.c 746 const char *pager; local
766 pager = "cat";
768 if (!(pager = getenv("PAGER")) || (*pager == 0))
769 pager = _PATH_PAGER;
777 (void)execl("/bin/sh", "sh", "-c", pager, (char *) NULL);
778 err(1, "exec sh -c %s", pager);
wump.c 746 const char *pager; local
766 pager = "cat";
768 if (!(pager = getenv("PAGER")) || (*pager == 0))
769 pager = _PATH_PAGER;
777 (void)execl("/bin/sh", "sh", "-c", pager, (char *) NULL);
778 err(1, "exec sh -c %s", pager);
wump.c 746 const char *pager; local
766 pager = "cat";
768 if (!(pager = getenv("PAGER")) || (*pager == 0))
769 pager = _PATH_PAGER;
777 (void)execl("/bin/sh", "sh", "-c", pager, (char *) NULL);
778 err(1, "exec sh -c %s", pager);
  /src/usr.bin/mail/
lex.c 466 * If none, then setup the pager unless "pager-off" is defined.
512 const char *pager; local
513 pager = value(ENAME_PAGER);
514 if (pager == NULL || *pager == '\0')
515 pager = _PATH_MORE;
517 if ((fout = Popen(pager, "we")) == NULL) {
518 warn("Popen: %s", pager);
lex.c 466 * If none, then setup the pager unless "pager-off" is defined.
512 const char *pager; local
513 pager = value(ENAME_PAGER);
514 if (pager == NULL || *pager == '\0')
515 pager = _PATH_MORE;
517 if ((fout = Popen(pager, "we")) == NULL) {
518 warn("Popen: %s", pager);
lex.c 466 * If none, then setup the pager unless "pager-off" is defined.
512 const char *pager; local
513 pager = value(ENAME_PAGER);
514 if (pager == NULL || *pager == '\0')
515 pager = _PATH_MORE;
517 if ((fout = Popen(pager, "we")) == NULL) {
518 warn("Popen: %s", pager);
  /src/usr.bin/man/
man.c 84 int cat; /* -c: do not use a pager */
108 const char *pager; /* pager to use */ member in struct:manstate
212 * we will need (machine type, pager, section [if specified
225 if (!m.cat && !m.how && !m.where) { /* if we need a pager ... */
229 if ((m.pager = getenv("PAGER")) != NULL &&
230 m.pager[0] != '\0')
231 m.pager = check_pager(m.pager);
    [all...]
man.c 84 int cat; /* -c: do not use a pager */
108 const char *pager; /* pager to use */ member in struct:manstate
212 * we will need (machine type, pager, section [if specified
225 if (!m.cat && !m.how && !m.where) { /* if we need a pager ... */
229 if ((m.pager = getenv("PAGER")) != NULL &&
230 m.pager[0] != '\0')
231 m.pager = check_pager(m.pager);
    [all...]

Completed in 64 milliseconds

1 2