From owner-freebsd-ports@FreeBSD.ORG Thu Apr 12 11:31:41 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 4C89016A401; Thu, 12 Apr 2007 11:31:41 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.freebsd.org (Postfix) with ESMTP id F1E5013C43E; Thu, 12 Apr 2007 11:31:40 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from doc.sem.ipt.ru ([192.168.12.1] helo=ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1HbxWd-0004GD-Lc; Thu, 12 Apr 2007 15:31:39 +0400 Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1HbxWl-000KjY-GJ; Thu, 12 Apr 2007 15:31:47 +0400 To: Alexander Leidinger References: <200704120913.l3C9D5lA060207@lurza.secnetix.de> <20070412115026.sx5tdm2aogss4kkc@webmail.leidinger.net> <20070412095811.GA87726@freebsd.org> <20070412132803.twm2froc0sow04cg@webmail.leidinger.net> From: Boris Samorodov Date: Thu, 12 Apr 2007 15:31:47 +0400 In-Reply-To: <20070412132803.twm2froc0sow04cg@webmail.leidinger.net> (Alexander Leidinger's message of "Thu, 12 Apr 2007 13:28:03 +0200") Message-ID: <02570828@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Roman Divacky , Oliver Fromme , freebsd-emulation@FreeBSD.ORG, freebsd-ports@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 11:31:41 -0000 On Thu, 12 Apr 2007 13:28:03 +0200 Alexander Leidinger wrote: > Quoting Roman Divacky (from Thu, 12 Apr 2007 > 11:58:11 +0200): > >> 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 said the same than I did, just differently (Oliver did > call lpr with the full (correct?) path in acroread and somehow it > didn't work for him). May be it works when the command has no parameters and don't work otherwise? WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve