From xemacs-m  Sat May 10 18:48:23 1997
Received: from cerise.sensei.co.uk (glynn@muvies.demon.co.uk [158.152.66.14])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id SAA24303
	for <xemacs-beta@xemacs.org>; Sat, 10 May 1997 18:48:20 -0500 (CDT)
Received: (from glynn@localhost) by cerise.sensei.co.uk (8.8.2/8.8.2) id AAA12860; Sun, 11 May 1997 00:49:55 +0100
Date: Sun, 11 May 1997 00:49:55 +0100
Message-Id: <199705102349.AAA12860@cerise.sensei.co.uk>
From: Glynn Clements <glynn@sensei.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: xemacs-beta@xemacs.org
Subject: man.el
X-Mailer: VM 6.30 under 20.2 XEmacs Lucid (beta5)


I posted the following patch to xemacs@xemacs.org, but I'll post it
here as well for good measure.

The following patch to manual-entry strips out stderr output.

On my system (Linux), this is required. Otherwise I get 'less'
complaining about lack of terminal capabilities, and the resulting
output causes Manual-nuke-nroff-bs to nuke the wrong bits.

--- xemacs-20.2-b5/lisp/packages/man.el~	Thu Apr 10 06:55:39 1997
+++ xemacs-20.2-b5/lisp/packages/man.el	Sat May 10 16:02:33 1997
@@ -234,7 +234,7 @@
 			     (substring args-string (match-end 0))))
 
 		   (message "%s (running...)" args-string)
-		   (apply 'call-process Manual-program nil t nil args)
+		   (apply 'call-process Manual-program nil '(t nil) nil args)
 
 		   (if (< (buffer-size) 200)
 		       (progn

-- 
Glynn Clements <glynn@sensei.co.uk>

