summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-11-12 19:25:49 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-11-12 19:25:49 -0800
commit4e70edc503ad153c4223995ae5fb4adf980b01bd (patch)
tree440446863a8bfaf4b7e489599dbfbb61b078592b
parentddb35139f98bcf276ef328db00961dc5a1b4ecf7 (diff)
Ask groff for text instead of postscript on Solaris
In the last case fallback to groff in #ifdef HANDLE_ROFFSEQ, it was just running "groff -man", which generates postscript output, which xman displays as a text dump of the postscript source, not very readable. Hit on Solaris since it wasn't caught by the earlier checks for CSRG_BASED, linux, __CYGWIN__, and __DARWIN__, which cover most other cases. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--vendor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor.h b/vendor.h
index 06df38f..d217c2a 100644
--- a/vendor.h
+++ b/vendor.h
@@ -164,7 +164,7 @@ from the X Consortium.
# elif defined(__DARWIN__)
# define FORMAT "nroff -man"
# else
-# define FORMAT "groff -man"
+# define FORMAT "GROFF_NO_SGR= groff -Tlatin1 -man"
# endif
# define DEFAULT_MANROFFSEQ "et"
#endif /*HANDLE_ROFFSEQ */