From owner-freebsd-ports@FreeBSD.ORG Thu Apr 12 10:26:52 2007 Return-Path: X-Original-To: freebsd-ports@FreeBSD.ORG Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DA83F16A400; Thu, 12 Apr 2007 10:26:52 +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 5EB9F13C484; Thu, 12 Apr 2007 10:26:52 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (wnetwv@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id l3CAQkol064004; Thu, 12 Apr 2007 12:26:51 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id l3CAQgfV063998; Thu, 12 Apr 2007 12:26:42 +0200 (CEST) (envelope-from olli) From: Oliver Fromme Message-Id: <200704121026.l3CAQgfV063998@lurza.secnetix.de> To: rdivacky@FreeBSD.ORG (Roman Divacky) Date: Thu, 12 Apr 2007 12:26:41 +0200 (CEST) In-Reply-To: <20070412095811.GA87726@freebsd.org> 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 12:26:51 +0200 (CEST) Cc: Alexander Leidinger , freebsd-emulation@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG, bsam@FreeBSD.ORG Subject: Re: Printing with Acrobat Reader X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Apr 2007 10:26:53 -0000 Roman Divacky wrote: > > > Acroread will use linux system calls to start the shell. This results > > in the linux shell (/compat/linux/bin/sh) to start (linuxulator > > directory prefixing). The linux shell will use the same linuxulator > > directory prefixing to start /compat/linux/usr/bin/lpr. So we're in > > the same situation like with Acroread. So when you play around with it > > also try to not specify a path to the lpr call and tell us which one > > works. > > this is not entirely true (or I just read it wrong). it works like this > > any binary (fbsd or linux) can run any binary (fbsd or linux). its just that > when linux binary wants to run "xyz" it searches /compat/linux first and then > falls back to / > > just a clarification I think you both mean to say exactly the same, you just express it in different ways. :-) Since there is no /compat/linux/usr/bin/lpr, it should fall back to using /usr/bin/lpr. Anyway, I will test it, as Alexander suggested. 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 "File names are infinite in length, where infinity is set to 255 characters." -- Peter Collinson, "The Unix File System"