[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: urlview always uses Lynx



Hi!
Wayne Topa <wtopa@ix.netcom.com> wrote:

> Quoting Daniel González Gasull(gasull@altavista.net):
>
> > 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)'

>   When I installed urlview on Slackware I was able to use it to
> run Lynx (if X and/or Netscape wern't running) and ncftp for ftp
> downloads. Doesn't the above .urlview only use Netscape?

Yes.  How can I use a different program depending of the URL type?

BTW, what I really use is mozilla.

TIA ;-)

-- 
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: