Date: Thu, 06 Jul 2006 16:43:09 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Frank Jahnke <jahnke@sonatabio.com> Cc: freebsd-questions@freebsd.org Subject: Re: Passing Parameters from BSD to Linux and Back Message-ID: <44ejwy5usi.fsf@be-well.ilk.org> In-Reply-To: <1152196718.880.44.camel@localhost> (Frank Jahnke's message of "Thu, 06 Jul 2006 07:38:38 -0700") References: <1152196718.880.44.camel@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
Frank Jahnke <jahnke@sonatabio.com> writes: > I use a few Linux programs on FreeBSD, and sometimes they invoke other > programs that use command line options. I have never been able to get > this parameter passing to work. > > For example, PDF files read by Acroread can contain links to a web > browser or an email program; these are often invoked as "program-name > %s" in the set-up file. VMware does the same with invoking a browser > from defaults set in a config file. > > I am able to get the appropriate program to open, but the parameters are > never passed. I have tried many, many schemes to quote or escape the > command and its options, but never have any of these worked. > > Any suggestions on how I might do this would be most appreciated! Hmm. Works for me. A web link in a PDF in Acroread (7) brings up the linked page in my (native) firefox. I had to configure the executable name (without path) into the "browser link" preference in acroread, and I think the .mailcap entry ("text/html; firefox %s") is needed as well.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44ejwy5usi.fsf>