Home
last modified time | relevance | path

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

/openbsd-src/usr.bin/mandoc/
H A Dcgi.c50 char *manpath; /* desired manual directory */ member
208 req->q.manpath = NULL; in parse_query_string()
252 set_query_attr(&req->q.manpath, &val); in parse_query_string()
495 if (strcmp(req->q.manpath, req->p[i]) == 0) in resp_searchform()
523 validate_manpath(const struct req *req, const char* manpath) in validate_manpath() argument
528 if ( ! strcmp(manpath, req->p[i])) in validate_manpath()
628 if (strcmp(req->q.manpath, req->p[0])) in pg_redirect()
629 printf("%s/", req->q.manpath); in pg_redirect()
654 r[i].file, req->q.manpath); in pg_searchres()
668 if (strcmp(req->q.manpath, req->p[0])) in pg_searchres()
[all …]
H A Dmanpath.c47 manpath_parseline(&conf->manpath, pbeg, 'm'); in manconf_parse()
51 manpath_parseline(&conf->manpath, pend, 'M'); in manconf_parse()
74 manpath_parseline(&conf->manpath, pbeg, '\0'); in manconf_parse()
80 manpath_parseline(&conf->manpath, pend, '\0'); in manconf_parse()
143 for (i = 0; i < conf->manpath.sz; i++) in manconf_free()
144 free(conf->manpath.paths[i]); in manconf_free()
146 free(conf->manpath.paths); in manconf_free()
195 manpath_add(&conf->manpath, cp, '\0'); in manconf_file()
210 manpath_parseline(&conf->manpath, manpath_default, '\0'); in manconf_file()
H A Dmain.c445 if (conf.manpath.sz == 0) { in main()
449 for (i = 0; i + 1 < conf.manpath.sz; i++) in main()
450 printf("%s:", conf.manpath.paths[i]); in main()
451 printf("%s\n", conf.manpath.paths[i]); in main()
457 (void)mansearch(&search, &conf.manpath, in main()
460 (void)fs_search(&search, &conf.manpath, in main()
508 strlen(conf.manpath.paths[resn[i].ipath]); in main()
548 if (mansearch(&search, &conf.manpath, in main()
866 (void)chdir(conf->manpath.paths[resp->ipath]); in process_onefile()
1020 check_xr(&conf->manpath); in parse()
H A Dmanconf.h51 struct manpaths manpath; member
H A Dmandocdb.c449 conf.manpath.paths = mandoc_reallocarray(NULL, in mandocdb()
451 conf.manpath.sz = (size_t)argc; in mandocdb()
453 conf.manpath.paths[i] = mandoc_strdup(argv[i]); in mandocdb()
457 if (conf.manpath.sz == 0) { in mandocdb()
468 for (j = 0; j < conf.manpath.sz; j++) { in mandocdb()
469 sz = strlen(conf.manpath.paths[j]); in mandocdb()
470 if (sz && conf.manpath.paths[j][sz - 1] == '/') in mandocdb()
471 conf.manpath.paths[j][--sz] = '\0'; in mandocdb()
482 if (set_basedir(conf.manpath.paths[j], argc > 0) == 0) in mandocdb()
492 if (j + 1 < conf.manpath.sz) { in mandocdb()
H A DMakefile23 SRCS+= manpath.c mandocdb.c mansearch.c
/openbsd-src/etc/examples/
H A Dman.conf7 manpath /usr/share/man
8 manpath /usr/X11R6/man
9 manpath /usr/local/man
/openbsd-src/gnu/usr.bin/perl/lib/
H A Dperl5db.pl9031 my $manpath = '';
9032 $manpath .= "$man1dir:" if $man1dir =~ /\S/;
9033 $manpath .= "$man3dir:" if $man3dir =~ /\S/ && $man1dir ne $man3dir;
9034 chop $manpath if $manpath;
9037 local $ENV{MANPATH} = $manpath if $manpath;
9044 ( ( $manpath && !$nopathopt ) ? ( "-M", $manpath ) : () ),
9066 ( ( $manpath
[all...]
/openbsd-src/lib/libkeynote/
H A DREADME40 Alternatively, you can just install them in your manpath. If your
/openbsd-src/gnu/usr.bin/perl/cpan/Pod-Simple/t/
H A Dperlfaq.pod673 # display reasonable manpath
H A Dperlfaqo.txt208 # display reasonable manpath
/openbsd-src/gnu/usr.bin/perl/pod/
H A Dperldebug.pod672 I<manpath>> option. Failed lookups of the form C<XXX> that match
/openbsd-src/gnu/usr.bin/perl/cpan/perlfaq/lib/
H A Dperlfaq3.pod1007 # display reasonable manpath