/freebsd-11.0-release/usr.bin/man/ |
H A D | Makefile | 6 LINKS= ${BINDIR}/man ${BINDIR}/manpath 8 MAN= man.1 manpath.1 man.conf.5
|
H A D | man.sh | 30 # Adds a variable to manpath while ensuring we don't have duplicates. 33 case "$manpath" in 34 *:$1) decho " Skipping duplicate manpath entry $1" 2 ;; 35 $1:*) decho " Skipping duplicate manpath entry $1" 2 ;; 36 *:$1:*) decho " Skipping duplicate manpath entry $1" 2 ;; 38 decho " Adding $1 to manpath" 39 manpath="$manpath:$1" 69 # If the user has set a manpath, who are we to argue. 76 decho "Adding default manpath entrie [all...] |
/freebsd-11.0-release/etc/periodic/weekly/ |
H A D | 320.whatis | 19 MANPATH=`/usr/bin/manpath -q` 24 echo "manpath failed to find any manpage directories" 27 man_locales=`/usr/bin/manpath -qL`
|
H A D | 330.catman | 25 MANPATH=`/usr/bin/manpath -q` 30 echo "manpath failed to find any manpath directories" 33 man_locales=`/usr/bin/manpath -qL`
|
/freebsd-11.0-release/contrib/mdocml/ |
H A D | manconf.h | 42 struct manpaths manpath; member in struct:manconf
|
H A D | manpath.c | 1 /* $Id: manpath.c,v 1.29 2015/11/07 17:58:55 schwarze Exp $ */ 52 strlcpy(cmd, "manpath", sizeof(cmd)); 66 /* Open manpath(1). Ignore errors. */ 86 manpath_parseline(&conf->manpath, buf, 1); 95 manpath_parseline(&conf->manpath, auxp, 1); 99 manpath_parseline(&conf->manpath, defp, 1); 117 manpath_parseline(&conf->manpath, defp, 0); 123 manpath_parseline(&conf->manpath, defp, 0); 132 manpath_parseline(&conf->manpath, defp, 0); 134 manpath_parseline(&conf->manpath, inser [all...] |
H A D | cgi.c | 47 char *manpath; /* desired manual directory */ member in struct:query 190 req->q.manpath = NULL; 226 else if ( ! strcmp(key, "manpath")) { 234 set_query_attr(&req->q.manpath, &val); 428 /* Write manpath selector. */ 431 puts("<SELECT NAME=\"manpath\">"); 434 if (strcmp(req->q.manpath, req->p[i]) == 0) 476 validate_manpath(const struct req *req, const char* manpath) argument 480 if ( ! strcmp(manpath, "mandoc")) 484 if ( ! strcmp(manpath, re 859 char *manpath; local [all...] |
H A D | configure | 259 # --- manpath --- 260 if ismanual manpath "${HAVE_MANPATH}"; then 262 elif manpath 1>&3 2>&3; then 263 echo "manpath: yes" 1>&2 264 echo "manpath: yes" 1>&3 268 echo "manpath: no" 1>&2 269 echo "manpath: no" 1>&3
|
H A D | manpage.c | 95 ch = mansearch(&search, &conf.manpath, argc, argv, &res, &sz);
|
H A D | mandocdb.c | 111 char file[PATH_MAX]; /* filename rel. to manpath */ 491 * If we don't, grok from manpath(1) or however else 495 conf.manpath.paths = mandoc_reallocarray(NULL, 497 conf.manpath.sz = (size_t)argc; 499 conf.manpath.paths[i] = mandoc_strdup(argv[i]); 503 if (conf.manpath.sz == 0) { 505 say("", "Empty manpath"); 514 for (j = 0; j < conf.manpath.sz; j++) { 515 sz = strlen(conf.manpath.paths[j]); 516 if (sz && conf.manpath [all...] |
H A D | Makefile | 84 manpath.c \ 246 manpath.o \ 263 MANPAGE_OBJS = manpage.o mansearch.o mansearch_const.o manpath.o
|
H A D | Makefile.depend | 39 manpath.o: manpath.c config.h mandoc_aux.h manconf.h
|
H A D | main.c | 359 if ( ! mansearch(&search, &conf.manpath, 373 fs_search(&search, &conf.manpath, 472 chdir(conf.manpath.paths[resp->ipath]);
|
/freebsd-11.0-release/usr.bin/mandoc/ |
H A D | Makefile | 72 manpath.c
|
/freebsd-11.0-release/usr.bin/catman/ |
H A D | catman.c | 810 const char *manpath = getenv("MANPATH"); local 811 if (manpath == NULL) 812 manpath = DEFAULT_MANPATH; 813 process_argument(manpath);
|
/freebsd-11.0-release/usr.bin/makewhatis/ |
H A D | makewhatis.c | 1038 const char *manpath = getenv("MANPATH"); local 1039 if (manpath == NULL) 1040 manpath = DEFAULT_MANPATH; 1041 process_argument(manpath);
|
/freebsd-11.0-release/contrib/groff/contrib/groffer/ |
H A D | groffer2.sh | 432 _OPTS_MAN_LONG_ARG="'locale' 'manpath' \ 500 export _MANOPT_PATH; # $MANOPT --manpath 2890 if is_prog 'manpath' 2892 _MAN_PATH="$(manpath 2>${_NULL_DEV})"; # not always available 3871 --local-file=name, --location, --manpath=dir1:dir2:..., 4313 -M|--manpath) 4314 list_append mpm_list '--manpath' "$1"; 4583 --manpath) # specify search path for man pages, arg
|