Home
last modified time | relevance | path

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

/freebsd/contrib/mandoc/
H A Dcgi.c54 char *manpath; /* desired manual directory */ member
212 req->q.manpath = NULL; in parse_query_string()
256 set_query_attr(&req->q.manpath, &val); in parse_query_string()
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() argument
532 if ( ! strcmp(manpath, req->p[i])) in validate_manpath()
632 if (strcmp(req->q.manpath, req->p[0])) in pg_redirect()
633 printf("%s/", req->q.manpath); in pg_redirect()
658 r[i].file, req->q.manpath); in pg_searchres()
672 if (strcmp(req->q.manpath, req->p[0])) in pg_searchres()
[all …]
H A Dmanpath.c1 /* $Id: manpath.c,v 1.45 2025/06/26 17:26:23 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 manconf_free()
142 free(conf->manpath.paths[i]); in manconf_free()
144 free(conf->manpath.paths); in manconf_free()
154 const char *const toks[] = { "manpath", "output" }; in manconf_file()
191 case 0: /* manpath */ in manconf_file()
[all...]
H A Dmain.c468 * Use manpath(1) to populate defpaths if -M is not specified. in main()
476 if ((fp = popen("/usr/bin/manpath -q", "r")) != NULL) { in main()
499 if (conf.manpath.sz == 0) { in main()
500 warnx("The manpath is empty."); in main()
503 for (i = 0; i + 1 < conf.manpath.sz; i++) in main()
504 printf("%s:", conf.manpath.paths[i]); in main()
505 printf("%s\n", conf.manpath.paths[i]); in main()
511 (void)mansearch(&search, &conf.manpath, in main()
514 (void)fs_search(&search, &conf.manpath, in main()
548 strlen(conf.manpath in main()
[all...]
H A Dmanconf.h51 struct manpaths manpath; member
H A Dmandocdb.c480 conf.manpath.paths = mandoc_reallocarray(NULL, in mandocdb()
482 conf.manpath.sz = (size_t)argc; in mandocdb()
484 conf.manpath.paths[i] = mandoc_strdup(argv[i]); in mandocdb()
488 if (conf.manpath.sz == 0) { in mandocdb()
499 for (j = 0; j < conf.manpath.sz; j++) { in mandocdb()
500 sz = strlen(conf.manpath.paths[j]); in mandocdb()
501 if (sz && conf.manpath.paths[j][sz - 1] == '/') in mandocdb()
502 conf.manpath.paths[j][--sz] = '\0'; in mandocdb()
513 if (set_basedir(conf.manpath.paths[j], argc > 0) == 0) in mandocdb()
523 if (j + 1 < conf.manpath.sz) { in mandocdb()
H A DMakefile.depend51 manpath.o: manpath.c config.h mandoc_aux.h mandoc_dbg.h mandoc.h manconf.h
H A DMakefile109 manpath.c \
316 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 DMakefile4 LINKS= ${BINDIR}/man ${BINDIR}/manpath
6 MAN= man.1 manpath.1 man.conf.5
H A Dman.sh46 case "$manpath" in
52 manpath="$manpath:$1"
141 MANPATH=${manpath#:}
871 if [ -z "$manpath" ]; then
873 manpath=$man_default_path
1153 *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 DMakefile100 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.inc5666 OLD_FILES+=usr/bin/manpath
5673 OLD_FILES+=usr/share/man/man1/manpath.1.gz