Re: urlview - choosing the browser
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
~Kyle
- --
Last comes the beverage of the Orient shore, Mocha, far off, the
fragrant berries bore. Taste the dark fluid with a dainty lip,
Digestion waits on pleasure as you sip.
-- Pope Leo XII
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFEa/jmBkIOoMqOI14RAm9lAKC1CikCObHa8dZQHlQL8qRg/0kmtQCfQ6oE
jHwE43ATUg2e2peay68u/0Q=
=PWWT
-----END PGP SIGNATURE-----