From owner-freebsd-ports@FreeBSD.ORG Fri Apr 11 08:25:35 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9284237B401 for ; Fri, 11 Apr 2003 08:25:35 -0700 (PDT) Received: from wop21.wop.wtb.tue.nl (wop21.wop.wtb.tue.nl [131.155.56.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id A072643F85 for ; Fri, 11 Apr 2003 08:25:34 -0700 (PDT) (envelope-from karelj@wop21.wop.wtb.tue.nl) Received: from wop21.wop.wtb.tue.nl (localhost.wop.wtb.tue.nl [127.0.0.1]) by wop21.wop.wtb.tue.nl (8.12.7/8.12.7) with ESMTP id h3BFPACB051925; Fri, 11 Apr 2003 17:25:10 +0200 (CEST) (envelope-from karelj@wop21.wop.wtb.tue.nl) Received: (from karelj@localhost) by wop21.wop.wtb.tue.nl (8.12.7/8.12.7/Submit) id h3BFP6ws051924; Fri, 11 Apr 2003 17:25:06 +0200 (CEST) Date: Fri, 11 Apr 2003 17:25:06 +0200 From: "Karel J. Bosschaart" To: "Mike O'Brien" Message-ID: <20030411152506.GA51894@wop21.wop.wtb.tue.nl> References: <200304082254.h38MshS14627@rushe.aero.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200304082254.h38MshS14627@rushe.aero.org> User-Agent: Mutt/1.4i cc: ports@freebsd.org Subject: Re: 'gv' pretty well useless under KDE X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2003 15:25:35 -0000 On Tue, Apr 08, 2003 at 03:54:43PM -0700, Mike O'Brien wrote: > 'gv', or perhaps its underlying GhostScript engine, > seems to have a problem that surfaces when using it under KDE. > It bombs out if the file path it's handed to interpret has > directories with '.' or '-' characters (at least) in them. > The normal way 'gv' is invoked is by the konqueror Web browser, > either by left-clicking on a file link or by right-clicking > on such a link and selecting 'gv' from the "Open With..." menu. > Invoked one way, the temporary file is placed under the user's > '.kde' directory; invoked another way, it's placed in a > subdirectory of /tmp that has a '-' in the name. Either way, > 'gv' promptly bombs out. > > I've thought about this and decided this is probably > 'gv's fault. GhostScript has no business caring what characters > are in a filename. > Hm, I can't reproduce it (KDE 3.1.1/FreeBSD 5.0/gv-3.5.8_3). I even have files with "-" in their normal name, and I can view them by typing "gv " in Konsole (that's my normal way), but also from Konqueror with Right click/Open with, then 'gv', or left-click so it's viewed with KGhostView. Had to specify gs somewhere or it wouldn't find the interpreter. Can you do 'gv ' from the Konsole where filename is the temporary file name in .kde or /tmp? Any error messages? Karel.