Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2007 15:31:47 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        Roman Divacky <rdivacky@FreeBSD.ORG>, Oliver Fromme <olli@lurza.secnetix.de>, freebsd-emulation@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG
Subject:   Re: Printing with Acrobat Reader
Message-ID:  <02570828@srv.sem.ipt.ru>
In-Reply-To: <20070412132803.twm2froc0sow04cg@webmail.leidinger.net> (Alexander Leidinger's message of "Thu, 12 Apr 2007 13:28:03 %2B0200")
References:  <200704120913.l3C9D5lA060207@lurza.secnetix.de> <20070412115026.sx5tdm2aogss4kkc@webmail.leidinger.net> <20070412095811.GA87726@freebsd.org> <20070412132803.twm2froc0sow04cg@webmail.leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 12 Apr 2007 13:28:03 +0200 Alexander Leidinger wrote:
> Quoting Roman Divacky <rdivacky@FreeBSD.ORG> (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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02570828>