Lines Matching refs:pager
28 void force_pager(const char *pager) in force_pager() argument
30 forced_pager = pager; in force_pager()
73 const char *pager = getenv(subcmd_config.pager_env); in setup_pager() local
77 pager = forced_pager; in setup_pager()
82 if (!pager) in setup_pager()
83 pager = getenv("PAGER"); in setup_pager()
84 if (!(pager || access("/usr/bin/pager", X_OK))) in setup_pager()
85 pager = "/usr/bin/pager"; in setup_pager()
86 if (!(pager || access("/usr/bin/less", X_OK))) in setup_pager()
87 pager = "/usr/bin/less"; in setup_pager()
88 if (!pager) in setup_pager()
89 pager = "cat"; in setup_pager()
90 if (!*pager || !strcmp(pager, "cat")) in setup_pager()
96 pager_argv[2] = pager; in setup_pager()