<<< Date Index >>>     <<< Thread Index >>>

Re: urlview - choosing the browser



On Thu, May 18, 2006 at 12:32:38AM EDT, Kyle Wheeler wrote:
> On Wednesday, May 17 at 06:59 PM, quoth cga2000:
> > Is there any way I can get urlview to open the target link in an already 
> > running instance of the web browser?
> 
> Depends on the browser. Firefox, for example, has a pretty easy way to 
> do it (some distributions have a script wrapper around firefox that 
> does it automatically). Things like Safari, on the other hand, only 
> have a single internal configuration setting for all external links 
> (check the Preferences dialog box).
> 
> But if you're asking "can I get urlview to run any arbitrary command I 
> want?" the answer is yes (read the urlview man page).
> 
> > How can I get mutt/urlview to open a text browser in the same xterm 
> > mutt is currently running in?
> 
> By telling it to in your ~/.urlview file.

:-)
> 
> > So that the text browser would re-use the terminal and terminating 
> > the browser would return you to your mutt session. Is this possible?
> 
> Of course.
> 
> The default command is "url_view.sh", and it decides what to do. But 
> if you don't like the url_view.sh script that comes with urlview, you 
> can write your own.
> 
> The way to route it through your own script is as follows. Put the 
> following in your ~/.urlview file:
> 
>     COMMAND $HOME/.myurlviewer.sh
> 
Will save this for a rainy day.
> 
> ~Kyle

Thanks much, as always, enlightening comments.

cga