Subject: Re: url-viewer configuration

From: David Dyck <[email-masked]>
Date: Thu, 13 Aug 1998 14:04:22 -0700

Your problem can be solved by creating a wrapper
shell script.

There are other problems that I though I reported
before, but have not been fixed when shell specific special
characters are present in the URL.  (like '&')

There seems to be no way to quote the URL to the shell.
  (I think that there were some good intentions
   that never got implemented in this area)

On Thu, 13 Aug 1998, Don Newcomer wrote:

> I'm running Pine 4.02A and was able to set up a basic URL viewer by just putting
> Netscape in there.  However, I didn't like having it create a new window and
> having to answer the "You're already running Netscape, do you want to continue"
> question.  Soooo, Netscape allows you to send commands to another running
> Netscape.  From a shell prompt I can type
> 
> 	netscape -remote 'openURL(http:www.dickinson.edu)'
> 
> and my running browser flips to our college home page.  If I modify my
> configuration so that it looks like this:
> 
> 	url-viewer=netscape -remote 'openURL(_URL_)'
> 
> it still tries to open a new browser.  It doesn't even work if I hardcode a real
> URL in there.  What am I missing here?  Thanks in advance.

---

From: David Dyck <[email-masked]>
Date: Thu, 13 Aug 1998 16:29:30 -0700

On Thu, 13 Aug 1998, Jeff Goswick wrote:

> You need to put double quotes (") around the entire command, then should 
> work.  I've got mine set to  (including quotes!)
> 
>   "/usr/local/bin/netscape -noraise -remote 'openURL ( _URL_ ,new-window)'"

Thanks VERY much for this example -- When I read the pine 4.00 docs
this wasn't clear, and it would probably be helpfull if
this example would be added to the online help.

It also helped me with embedded ampersands in urls.