From 4e70edc503ad153c4223995ae5fb4adf980b01bd Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 12 Nov 2014 19:25:49 -0800 Subject: 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 --- vendor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3