Package: debianutils
Version: 2.11.2

sensible-browser does not appear to handle the BROWSER variable
correctly :-(

For example, with Eric Raymond's example:

BROWSER='mozilla -raise -remote "openURL(%s,new-window)":links'

because the command will be split and not handed to /bin/sh, mozilla
will receive the arguments (C syntax):

argv[0] = "-raise"
argv[1] = "-remote"
argv[2] = "\"openURL(http://www.blah.org/,new-window)\""
argv[3] = NULL

Unfortunately, the embedded quotes in argv[2] cause mozilla to fail.

My suggested solution to this is to replace sensible-browser with an
appropriate modification of David Wheeler's browse script, along with
his "Secure BROWSER" modification of Eric Raymond's BROWSER variable,
all available from http://www.dwheeler.com/browse/, with BROWSE under
a DFSG license, but the specs not yet.

   Julian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to