Re: urlview always uses Lynx
On Sun, Apr 11, 1999 at 02:44:10PM -0400,
Jim Foltz <jfoltz@raex.com> wrote:
> urlview always opens an xterm running lynx, even when I have netscape
> running in X. Is this the correct behavior? Can I make it use netscape
> if I am in X and Lynx when I am not?
You need a .urlview file in your $HOME:
-----begin-----
#
# ~/.urlview
#
# regular expression to use to match URLs
#REGEXP ((((ht|f)tp)|mailto):(//)?[^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">]
REGEXP (finger://|ftp://|http://|https://|nntp://|snews://|gopher://|news:|telnet:)[?=&%:,\#_@a-zA-Z0-9\./~\-]+[^.\[:space:][:punct:]]+|(irc|ftp|www)[.][?=&%:,_@a-zA-Z0-9\./~\-]+[^.[:space:][:punct:]]+|[%+_a-z\.\$A-Z0-9-]+@[a-zA-Z0-9\./\-]+
# command to invoke for selected URL
COMMAND netscape -remote 'openURL(%s)'
-----end-----
--
Daniel González Gasull Signature O O "A friend is a
mailto:gasull@altavista.net under /\=,---. T/\ present you give
PGP RSA key 1024/EEA93A69 construction /\ `O' U /\ yourself."
-- Robert Louis
Stevenson
__________________________________________________________
| Fight Spam! Join EuroCAUCE: http://www.euro.cauce.org/ |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Reply to: