/freebsd-src/contrib/mandoc/ |
H A D | cgi.c | 54 char *manpath; /* desired manual directory */ 212 req->q.manpath = NULL; in parse_query_string() 248 else if ( ! strcmp(key, "manpath")) { in parse_query_string() 256 set_query_attr(&req->q.manpath, &val); in parse_query_string() 492 /* Write manpath selector. */ in resp_searchform() 495 puts(" <select name=\"manpath\"" in resp_searchform() 499 if (strcmp(req->q.manpath, req->p[i]) == 0) in resp_searchform() 527 validate_manpath(const struct req *req, const char* manpath) in validate_manpath() 532 if ( ! strcmp(manpath, req->p[i])) in validate_arch() 632 if (strcmp(req->q.manpath, re in pg_searchres() 53 char *manpath; /* desired manual directory */ global() member 520 validate_manpath(const struct req * req,const char * manpath) validate_manpath() argument 931 char *manpath; pg_show() local [all...] |
H A D | manpath.c | 1 /* $Id: manpath.c,v 1.44 2021/11/05 18:03:08 schwarze Exp $ */ 45 manpath_parseline(&conf->manpath, pbeg, 'm'); in manconf_parse() 49 manpath_parseline(&conf->manpath, pend, 'M'); in manconf_parse() 72 manpath_parseline(&conf->manpath, pbeg, '\0'); in manconf_parse() 78 manpath_parseline(&conf->manpath, pend, '\0'); in manconf_parse() 141 for (i = 0; i < conf->manpath.sz; i++) in manpath_add() 142 free(conf->manpath.paths[i]); in manpath_add() 144 free(conf->manpath.paths); in manpath_add() 154 const char *const toks[] = { "manpath", "output" }; in manconf_free() 191 case 0: /* manpath */ in manconf_file() [all...] |
H A D | main.c | 469 * Use manpath(1) to populate defpaths if -M is not specified. in main() 477 if ((fp = popen("/usr/bin/manpath -q", "r")) != NULL) { in main() 500 if (conf.manpath.sz == 0) { in main() 501 warnx("The manpath is empty."); in main() 504 for (i = 0; i + 1 < conf.manpath.sz; i++) in main() 505 printf("%s:", conf.manpath.paths[i]); in main() 506 printf("%s\n", conf.manpath.paths[i]); in main() 512 (void)mansearch(&search, &conf.manpath, in main() 515 (void)fs_search(&search, &conf.manpath, in main() 602 if (mansearch(&search, &conf.manpath, in main() [all...] |
H A D | manconf.h | 51 struct manpaths manpath; member
|
H A D | mandocdb.c | 98 char file[PATH_MAX]; /* filename rel. to manpath */ 478 conf.manpath.paths = mandoc_reallocarray(NULL, in mandocdb() 480 conf.manpath.sz = (size_t)argc; in mandocdb() 482 conf.manpath.paths[i] = mandoc_strdup(argv[i]); in mandocdb() 486 if (conf.manpath.sz == 0) { in mandocdb() 488 say("", "Empty manpath"); in mandocdb() 497 for (j = 0; j < conf.manpath.sz; j++) { in mandocdb() 498 sz = strlen(conf.manpath.paths[j]); in mandocdb() 499 if (sz && conf.manpath.paths[j][sz - 1] == '/') in mandocdb() 500 conf.manpath in mandocdb() [all...] |
H A D | Makefile.depend | 51 manpath.o: manpath.c config.h mandoc_aux.h mandoc_dbg.h mandoc.h manconf.h
|
H A D | Makefile | 109 manpath.c \ 316 manpath.o \
|
H A D | NEWS | 11 * man(1): let -w without argument show the manpath, like in man-db and man-1.6 16 that was deprecated in 2015; please use "manpath" instead 40 * -W style: check .Xr links along the full manpath 44 * makewhatis(8): do not crash when a manpath directory contains 474 * Drop support for manpath(1). Even if your system has manpath(1), 478 than to bother with the complexity of manpath(1). 621 * man.cgi(8): Delete the pseudo-manpath "mandoc", assume that 622 apropos(1) and man.cgi(8) are installed in the default manpath. 850 * Autodetect wchar, sqlite3, and manpath suppor [all...] |
/freebsd-src/usr.bin/man/ |
H A D | Makefile | 2 LINKS= ${BINDIR}/man ${BINDIR}/manpath 4 MAN= man.1 manpath.1 man.conf.5
|
H A D | man.sh | 40 # Adds a variable to manpath while ensuring we don't have duplicates. 43 case "$manpath" in 44 *:$1) decho " Skipping duplicate manpath entry $1" 2 ;; 45 $1:*) decho " Skipping duplicate manpath entry $1" 2 ;; 46 *:$1:*) decho " Skipping duplicate manpath entry $1" 2 ;; 48 decho " Adding $1 to manpath" 49 manpath="$manpath:$1" 98 # If the user has set a manpath, who are we to argue. 121 decho "Adding default manpath entrie [all...] |
/freebsd-src/usr.sbin/periodic/etc/weekly/ |
H A D | 320.whatis | 18 MANPATH=`/usr/bin/manpath -q` 26 man_locales=`/usr/bin/manpath -qL`
|
/freebsd-src/usr.bin/indent/tests/ |
H A D | comments.0 | 13 …* https://man.freebsd.org/cgi/man.cgi?query=indent&apropos=0&sektion=0&manpath=freebsd-current&arc…
|
H A D | comments.0.stdout | 15 …* https://man.freebsd.org/cgi/man.cgi?query=indent&apropos=0&sektion=0&manpath=freebsd-current&arc…
|
/freebsd-src/usr.bin/mandoc/ |
H A D | Makefile | 95 manpath.c \
|
/freebsd-src/contrib/file/magic/Magdir/ |
H A D | archive | 11 # Reference: https://www.freebsd.org/cgi/man.cgi?query=tar&sektion=5&manpath=FreeBSD+8-current
|
/freebsd-src/tools/build/mk/ |
H A D | OptionalObsoleteFiles.inc | 5495 OLD_FILES+=usr/bin/manpath 5502 OLD_FILES+=usr/share/man/man1/manpath.1.gz
|