From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29379 invoked by alias); 19 Feb 2014 15:02:52 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 29340 invoked by uid 89); 19 Feb 2014 15:02:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: smtpout06.bt.lon5.cpcloud.co.uk Received: from smtpout06.bt.lon5.cpcloud.co.uk (HELO smtpout06.bt.lon5.cpcloud.co.uk) (65.20.0.126) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 19 Feb 2014 15:02:50 +0000 X-CTCH-RefID: str=0001.0A090202.5304C797.00FA,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-Junkmail-Premium-Raw: score=8/97,refid=2.7.2:2014.2.10.105114:17:8.510,ip=,rules=__MOZILLA_MSGID, __HAS_MSGID, __SANE_MSGID, __HAS_FROM, __HAS_REPLYTO, __USER_AGENT, __MOZILLA_USER_AGENT, __MIME_VERSION, __TO_MALFORMED_2, __TO_NO_NAME, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __IN_REP_TO, __CT, __CTYPE_HAS_BOUNDARY, __CTYPE_MULTIPART, __CTYPE_MULTIPART_MIXED, __BAT_BOUNDARY, __ANY_URI, __URI_NO_WWW, __CP_URI_IN_BODY, __SUBJ_ALPHA_NEGATE, __FORWARDED_MSG, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_2000_2999, __MIME_TEXT_ONLY, __URI_NS, HTML_00_01, HTML_00_10, BODY_SIZE_5000_LESS, REPLYTO_FROM_DIFF_ADDY, BODY_SIZE_7000_LESS, MIME_TEXT_ONLY_MP_MIXED X-CTCH-Spam: Unknown Received: from [192.168.1.72] (86.174.32.243) by smtpout06.bt.lon5.cpcloud.co.uk (8.6.100.99.10223) (authenticated as jonturney@btinternet.com) id 52F0E43800F11D72; Wed, 19 Feb 2014 15:02:47 +0000 Message-ID: <5304C798.4090300@dronecode.org.uk> Date: Wed, 19 Feb 2014 15:02:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: doran.kangwai@gmail.com Subject: Re: Problem with xman-1.1.3-1 References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------040005040303030906040707" X-SW-Source: 2014-02/txt/msg00002.txt.bz2 --------------040005040303030906040707 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-length: 898 On 18/02/2014 07:56, Doran Kangwai wrote: > When I use xman 1.1.3-1 to view man pages it renders the pages as > postscript. It seems to omit the step to process the PS. Close, but not quite right. groff is not being given the -T option to set the output format, so it's producing the default, ps > So I see stuff like this > %!PS-Adobe-3.0 > %%Creator: groff version 1.22.2 > ... > ... > > Using man to display the page works fine. > > When I use xman 1.1.2-1 the man page is also rendered correctly. Thanks for reporting this problem, and the clear reproduction steps. I can reproduce the problem, and bisecting points to this commit [1], which changes the formatting command used by xman. Yaakov, Attached is trivial patch to fix. If it looks good to you can you apply and rebuild xman? [1] http://cgit.freedesktop.org/xorg/app/xman/commit/?id=d25a3b87ce9fdf950b42f45b644242d72e7167b3 --------------040005040303030906040707 Content-Type: text/plain; charset=windows-1252; name="0001-Use-same-FORMAT-command-on-cygwin-as-on-linux-in-HAN.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-Use-same-FORMAT-command-on-cygwin-as-on-linux-in-HAN.pa"; filename*1="tch" Content-length: 807 >>From ea0ecbfa007e03e29f80f976472a28e37cf59931 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Wed, 19 Feb 2014 14:51:34 +0000 Subject: [PATCH app/xman] Use same FORMAT command on cygwin as on linux in HANDLE_ROFFSEQ case as well Signed-off-by: Jon TURNEY --- vendor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor.h b/vendor.h index 548ded6..06df38f 100644 --- a/vendor.h +++ b/vendor.h @@ -159,7 +159,7 @@ from the X Consortium. # define REFER "refer" # if defined(CSRG_BASED) # define FORMAT "nroff -mandoc" -# elif defined(linux) +# elif defined(linux) || defined(__CYGWIN__) # define FORMAT "GROFF_NO_SGR= groff -Tlatin1 -mandoc" # elif defined(__DARWIN__) # define FORMAT "nroff -man" -- 1.8.3.4 --------------040005040303030906040707 Content-Type: text/plain; charset=us-ascii Content-length: 223 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ --------------040005040303030906040707--