1444N/AUpdate #ifdefs for Solaris to use correct groff options to get readable
1444N/Aoutput instead of raw PostScript output for man pages, and put the rest
1444N/Aof the groff utilities (tbl, pic, etc.) ahead of the SVR4 ones in $PATH.
1444N/A@@ -152,6 +152,18 @@ main(int argc, char **argv)
1444N/A saved_argv = (char **) XtMalloc(argc * sizeof(char *));
1444N/A bcopy(argv, saved_argv, argc * sizeof(char *));
1444N/A+#ifdef sun /* force use of groff tools vs. SVR4 nroff tools */
1444N/A+ const char *orig_path = getenv("PATH");
1444N/A XtSetLanguageProc(NULL, (XtLanguageProc) NULL, NULL);
1444N/A initial_widget = XtAppInitialize(&app_con, "Xman", xman_options,
1444N/Aindex 548ded6..2ece09b 100644
1444N/A@@ -159,7 +159,7 @@ from the X Consortium.
1444N/A # define FORMAT "nroff -mandoc"
1444N/A+# elif defined(linux) || defined(sun)
1444N/A # define FORMAT "GROFF_NO_SGR= groff -Tlatin1 -mandoc"
1444N/A # define FORMAT "nroff -man"