From owner-freebsd-emulation@FreeBSD.ORG Thu Apr 12 14:28:51 2007 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.ORG Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 074CB16A401; Thu, 12 Apr 2007 14:28:51 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id 78A4213C458; Thu, 12 Apr 2007 14:28:48 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (zuvqlw@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id l3CESfpA076123; Thu, 12 Apr 2007 16:28:46 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id l3CESbOw076122; Thu, 12 Apr 2007 16:28:37 +0200 (CEST) (envelope-from olli) From: Oliver Fromme Message-Id: <200704121428.l3CESbOw076122@lurza.secnetix.de> To: Alexander@leidinger.net (Alexander Leidinger) Date: Thu, 12 Apr 2007 16:28:37 +0200 (CEST) In-Reply-To: <20070412152642.76pd6vw0000sk88g@webmail.leidinger.net> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Thu, 12 Apr 2007 16:28:47 +0200 (CEST) Cc: Roman Divacky , freebsd-ports@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG, bsam@FreeBSD.ORG Subject: Re: Printing with Acrobat Reader X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Apr 2007 14:28:51 -0000 Alexander Leidinger wrote: > Oliver Fromme wrote: > > That's correct. Obviously Adobe Reader performs some kind > > of sanity check on the path (if one is given), and for some > > reason it always prepends /compat/linux in that case. > > No linux application does this, it's the kernel. It tries with the > compat path first and then with the normal path. I don't know why it > does not work in acroread, I never investigated this issue. An > application should not be able to know if the command is from compat > or not. Adobe Reader does. Dont ask me how and why, but it does. Any other explanation of the symptom is even less likely. As a matter of fact, when I configure it to use /usr/bin/lpr for printing, it reports "/usr/bin/lpr not found", and when I copy /usr/bin/lpr to /compat/linux/usr/bin/lpr, it works. > I'm a little bit puzzled, but not puzzled enough to > investigate further. OK. :-) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "FreeBSD is Yoda, Linux is Luke Skywalker" -- Daniel C. Sobral