summaryrefslogtreecommitdiffstats
path: root/src/paths.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-09-13 09:43:21 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-09-13 09:43:21 -0700
commit5280f9a0cd1f9ba200422ebba65d1e0133410995 (patch)
treebf85ce4e320a769d7e0903ff52ccfde13a422666 /src/paths.h
downloadman-5280f9a0cd1f9ba200422ebba65d1e0133410995.tar.gz
man-5280f9a0cd1f9ba200422ebba65d1e0133410995.tar.bz2
man-5280f9a0cd1f9ba200422ebba65d1e0133410995.zip
Initial.man-1.6g
Diffstat (limited to 'src/paths.h')
-rw-r--r--src/paths.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/paths.h b/src/paths.h
new file mode 100644
index 0000000..723731d
--- /dev/null
+++ b/src/paths.h
@@ -0,0 +1,43 @@
+/*
+ * Generated automatically from paths.h.in by the
+ * configure script.
+ */
+/* paths.h - included in man-config.c */
+/*
+ * Define the absolute path to the configuration file and programs used.
+ * (If no configuration file is found then the preset values are used.)
+ */
+#ifndef CONFIG_FILE
+#define CONFIG_FILE "/usr/share/misc/man.conf"
+#endif
+
+static struct paths {
+ char *name;
+ char *path; /* path plus command options - never NULL */
+} paths[] = {
+ { "MANBIN", "" }, /* value unused */
+ { "APROPOS", "/usr/bin/apropos" },
+ { "WHATIS", "/usr/bin/whatis" },
+ { "TROFF", "/usr/bin/groff -Tps -mandoc" },
+ { "NROFF", "/usr/bin/nroff -Tlatin1 -mandoc" },
+ { "JNROFF", "/usr/bin/groff -Tnippon -mandocj" },
+ { "EQN", "/usr/bin/geqn -Tps" },
+ { "NEQN", "/usr/bin/geqn -Tlatin1" },
+ { "JNEQN", "/usr/bin/geqn -Tnippon" },
+ { "TBL", "/usr/bin/gtbl" },
+ { "COL", "" },
+ { "REFER", "" },
+ { "PIC", "/usr/bin/gpic" },
+ { "VGRIND", "" },
+ { "GRAP", "" },
+ { "PAGER", "/bin/less -is" },
+ { "BROWSER","/bin/less -is" },
+ { "HTMLPAGER", "/bin/cat" },
+ { "CMP", "/usr/bin/cmp -s" },
+ { "CAT", "/bin/cat" },
+ { "COMPRESS", "/usr/bin/xz" },
+ { "COMPRESS_EXT", ".xz" }, /* not a path, just a string variable */
+ { "DECOMPRESS", "/usr/bin/unxz -c" },
+ { "MANSECT", "1:1p:8:2:3:3p:4:5:6:7:9:0p:tcl:n:l:p:o"}, /* idem */
+ { "MANDEFOPTIONS", ""} /* idem */
+};