Home
last modified time | relevance | path

Searched refs:manpath (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/mandoc/
H A Dcgi.c53 char *manpath; /* desired manual directory */ member
211 req->q.manpath = NULL; in parse_query_string()
255 set_query_attr(&req->q.manpath, &val); in parse_query_string()
492 if (strcmp(req->q.manpath, req->p[i]) == 0) in resp_searchform()
520 validate_manpath(const struct req *req, const char* manpath) in validate_manpath() argument
525 if ( ! strcmp(manpath, req->p[i])) in validate_manpath()
613 if (strcmp(req->q.manpath, req->p[0])) in pg_redirect()
614 printf("%s/", req->q.manpath); in pg_redirect()
638 r[i].file, req->q.manpath); in pg_searchres()
652 if (strcmp(req->q.manpath, req->p[0])) in pg_searchres()
[all …]
H A Dmanpath.c46 manpath_parseline(&conf->manpath, auxp, 'm'); in manconf_parse()
50 manpath_parseline(&conf->manpath, defp, 'M'); in manconf_parse()
68 manpath_parseline(&conf->manpath, defp, '\0'); in manconf_parse()
74 manpath_parseline(&conf->manpath, defp, '\0'); in manconf_parse()
83 manpath_parseline(&conf->manpath, defp, '\0'); in manconf_parse()
85 manpath_parseline(&conf->manpath, insert + 1, '\0'); in manconf_parse()
90 manpath_parseline(&conf->manpath, defp, '\0'); in manconf_parse()
153 for (i = 0; i < conf->manpath.sz; i++) in manconf_free()
154 free(conf->manpath.paths[i]); in manconf_free()
156 free(conf->manpath.paths); in manconf_free()
[all …]
H A Dmain.c497 if (conf.manpath.sz == 0) { in main()
501 for (i = 0; i + 1 < conf.manpath.sz; i++) in main()
502 printf("%s:", conf.manpath.paths[i]); in main()
503 printf("%s\n", conf.manpath.paths[i]); in main()
509 (void)mansearch(&search, &conf.manpath, in main()
512 (void)fs_search(&search, &conf.manpath, in main()
592 if (mansearch(&search, &conf.manpath, in main()
910 (void)chdir(conf->manpath.paths[resp->ipath]); in process_onefile()
1066 check_xr(&conf->manpath); in parse()
H A Dmanconf.h51 struct manpaths manpath; member
H A Dmandocdb.c478 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()
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.paths[j][--sz] = '\0'; in mandocdb()
511 if (set_basedir(conf.manpath.paths[j], argc > 0) == 0) in mandocdb()
521 if (j + 1 < conf.manpath.sz) { in mandocdb()
H A DMakefile.depend50 manpath.o: manpath.c config.h mandoc_aux.h mandoc.h manconf.h
H A DMakefile108 manpath.c \
310 manpath.o \
H A DNEWS11 * 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 support.
/freebsd/usr.bin/man/
H A DMakefile2 LINKS= ${BINDIR}/man ${BINDIR}/manpath
4 MAN= man.1 manpath.1 man.conf.5
H A Dman.sh43 case "$manpath" in
49 manpath="$manpath:$1"
138 MANPATH=${manpath#:}
845 if [ -z "$manpath" ]; then
847 manpath=$man_default_path
1117 *manpath) do_manpath "$@" ;;
/freebsd/usr.sbin/periodic/etc/weekly/
H A D320.whatis18 MANPATH=`/usr/bin/manpath -q`
26 man_locales=`/usr/bin/manpath -qL`
/freebsd/usr.bin/indent/tests/
H A Dcomments.0.stdout15 …* https://man.freebsd.org/cgi/man.cgi?query=indent&apropos=0&sektion=0&manpath=freebsd-current&arc…
H A Dcomments.013 …* https://man.freebsd.org/cgi/man.cgi?query=indent&apropos=0&sektion=0&manpath=freebsd-current&arc…
/freebsd/usr.bin/mandoc/
H A DMakefile93 manpath.c \
/freebsd/contrib/file/magic/Magdir/
H A Darchive11 # Reference: https://www.freebsd.org/cgi/man.cgi?query=tar&sektion=5&manpath=FreeBSD+8-current
/freebsd/tools/build/mk/
H A DOptionalObsoleteFiles.inc5503 OLD_FILES+=usr/bin/manpath
5510 OLD_FILES+=usr/share/man/man1/manpath.1.gz
/freebsd/
H A DObsoleteFiles.inc16319 # 20101002: removed manpath.config
16320 OLD_FILES+=etc/manpath.config
16321 OLD_FILES+=usr/share/examples/etc/manpath.config